Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 20:24

General

  • Target

    2025-02-02_9b7c823ae2126b55d2c42d2d665d4bdc_mafia.exe

  • Size

    10.2MB

  • MD5

    9b7c823ae2126b55d2c42d2d665d4bdc

  • SHA1

    ee5cd33b2668c6a94e2e77750bf5ec88ad6b6856

  • SHA256

    ae1cbbf63e6551dacf902fdbe4a640a6a6dcfa180d185e02a6eeab4c9965db75

  • SHA512

    e2f63157102151a7370c9b6cf5ec1ebe827410539545b7299db59c19b4c12d3fde482078488ea50cd9a0cc55f49ef21eb9c6b004eb43b6af5701916dabea0a71

  • SSDEEP

    49152:MqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:MqtYc3

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-02-02_9b7c823ae2126b55d2c42d2d665d4bdc_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_9b7c823ae2126b55d2c42d2d665d4bdc_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xcxnwdyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sedrcmuo.exe" C:\Windows\SysWOW64\xcxnwdyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xcxnwdyq binPath= "C:\Windows\SysWOW64\xcxnwdyq\sedrcmuo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_9b7c823ae2126b55d2c42d2d665d4bdc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xcxnwdyq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xcxnwdyq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3524
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2440 -s 1272
      2⤵
      • Program crash
      PID:4084
  • C:\Windows\SysWOW64\xcxnwdyq\sedrcmuo.exe
    C:\Windows\SysWOW64\xcxnwdyq\sedrcmuo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_9b7c823ae2126b55d2c42d2d665d4bdc_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1560
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1560 -s 528
      2⤵
      • Program crash
      PID:4888
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1560 -ip 1560
    1⤵
      PID:3432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2440 -ip 2440
      1⤵
        PID:4388

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\sedrcmuo.exe

        Filesize

        12.2MB

        MD5

        a712e23df2ef9f64b34ff288eeb0e651

        SHA1

        e680d7bf54182c5c9d9c252472dc1edfccae9028

        SHA256

        d1faf8f4db3f9227249286241d67ff442c49964b07bc156533e7374259b1a42b

        SHA512

        29975f1c9326ee66fc23761d26bf300095b3519c32d3711e32f406551a23fe8a69f1a64a0714964bd29c4dfec1ff1ac6a20f8298e5e1a2646169b3413c80682a

      • memory/1560-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/1636-8-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1636-14-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1636-15-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/2440-1-0x0000000003150000-0x0000000003250000-memory.dmp

        Filesize

        1024KB

      • memory/2440-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/2440-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2440-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2440-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/2440-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB