Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 13:04

General

  • Target

    2025-02-05_3aa787c33abf01521eb7852f9f7c6b76_mafia.exe

  • Size

    13.2MB

  • MD5

    3aa787c33abf01521eb7852f9f7c6b76

  • SHA1

    c2349510cb5e9508f4a95dc1e73d54cdc817cf04

  • SHA256

    92150054297a0b1e11bee1acc01694695ed0ebfb238b1e22ed9b808ac2c4319c

  • SHA512

    0a6cbe6dbe83bcd3e0e4e76c3aba370d64b3a278b49e194d1d55db929ffe28f3d8d09547e167367f6c476e825711cc5a16480b395d0fa4b51cb8c963d444ca50

  • SSDEEP

    6144:QLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQs:FTYe+D2jFu+iZoUFhAzX

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-05_3aa787c33abf01521eb7852f9f7c6b76_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_3aa787c33abf01521eb7852f9f7c6b76_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qiofpzdi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nwqvnmhd.exe" C:\Windows\SysWOW64\qiofpzdi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qiofpzdi binPath= "C:\Windows\SysWOW64\qiofpzdi\nwqvnmhd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3aa787c33abf01521eb7852f9f7c6b76_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qiofpzdi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qiofpzdi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3760
    • 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:1540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 1168
      2⤵
      • Program crash
      PID:2784
  • C:\Windows\SysWOW64\qiofpzdi\nwqvnmhd.exe
    C:\Windows\SysWOW64\qiofpzdi\nwqvnmhd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_3aa787c33abf01521eb7852f9f7c6b76_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3680
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3680 -s 512
      2⤵
      • Program crash
      PID:4496
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4812 -ip 4812
    1⤵
      PID:4696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 3680 -ip 3680
      1⤵
        PID:1528

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        02295830e2ba18cfa7007f6cf06d29f9

        SHA1

        953518a2468055eb821acf0b5fda093755c878ce

        SHA256

        84b68dfa7af61adce46f1a562c15fdb6946918178cb232647cf1e27f99f80965

        SHA512

        a58ebf7858082c11c7b32bae6f81595cdd91ccf185cf1bc381c604fa120a7db3c3cdee019c30ed8d07c925ddc7be916ca4c176d93081f5c19313a1c274cd34d1

      • memory/2728-15-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2728-13-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2728-16-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/3680-12-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3680-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3680-18-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4812-2-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4812-10-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4812-1-0x00000000007F0000-0x00000000008F0000-memory.dmp

        Filesize

        1024KB

      • memory/4812-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4812-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB