Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2025 06:07

General

  • Target

    2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe

  • Size

    11.0MB

  • MD5

    9f4c0627ea07f2500c36b904a510be48

  • SHA1

    030bc5f580aeb4d1d154e88255e42867bf3f1993

  • SHA256

    d3c0e377a3f6c5a21528d5440de0378d64c7277bca9f65e4942d79b60f5d0197

  • SHA512

    7d439fc2d821d0a4fb9650785836a966eb64744be27981fd057e7345b75cb4c14d34a6fcb96353b715c88b855bb5fb3907b00f5ff52456334ea25a7ea1f4af2a

  • SSDEEP

    3072:0LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/u:xOMdRQr7OB0ypmMXnl8XEPM3noSWOC1

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnhnalkb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gghsnomu.exe" C:\Windows\SysWOW64\hnhnalkb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hnhnalkb binPath= "C:\Windows\SysWOW64\hnhnalkb\gghsnomu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hnhnalkb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hnhnalkb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2668
    • 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:3056
  • C:\Windows\SysWOW64\hnhnalkb\gghsnomu.exe
    C:\Windows\SysWOW64\hnhnalkb\gghsnomu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_9f4c0627ea07f2500c36b904a510be48_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2740
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2680

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    5b58cfa58a33cbeb62962960477683a2

    SHA1

    8300923a06e2a4d4c87b3ccfdc36536243540c85

    SHA256

    ed036f406cc44d1ea45f15fa46d9b8f2c6b160caf78c1e364122642b9453119f

    SHA512

    4798ba23a606856dadf0885014e2470e1d795d2c85f0b54830dd4915ec6f350f39164a58389b921c40477e63802500d5d7f7b36efb580f3c80de872369bc526e

  • memory/1864-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1864-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1864-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

    Filesize

    1024KB

  • memory/1864-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1864-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1864-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2680-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2680-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2680-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2680-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2680-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2740-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB