Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    19-12-2024 16:43

General

  • Target

    2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe

  • Size

    11.3MB

  • MD5

    08354967a1a2f5d0c78d5c7d0a80a9bf

  • SHA1

    65c97fda58d573ad7aaa0677c7d4323a35bd67ed

  • SHA256

    c46a5bf2d8001c12538128dec7dbc3563ee98be85f7403624bf48b9e4725d82e

  • SHA512

    66f404ddcba83f7c5514a8c5f00254177a079361bb72fa0c16fa8094c021b231adf9cc9c978db7f00c261b88c86cb5cac24aac6f20b818847943ac80d995d271

  • SSDEEP

    3072:LLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:yOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zphnwxqu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnnepypr.exe" C:\Windows\SysWOW64\zphnwxqu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zphnwxqu binPath= "C:\Windows\SysWOW64\zphnwxqu\tnnepypr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zphnwxqu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zphnwxqu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2456
    • 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:2788
  • C:\Windows\SysWOW64\zphnwxqu\tnnepypr.exe
    C:\Windows\SysWOW64\zphnwxqu\tnnepypr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • 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:2804

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    866468cdb4e7950fb91b1a19920a033b

    SHA1

    d07b41b4a5f9e97107bde351293a5dbd82024d3f

    SHA256

    4ded9add413cb0f6d6d9291d34349ff10781e543eae1bd23c0d4468c70998827

    SHA512

    e1f43df2c0bb8e0f848dda22ae440a88fee70e6dc35c18557655cc71532b5834566cca9107f530ef481498b2aeae7f076590460e0ff38fed6160993f7be84e5d

  • memory/2172-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2480-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB

  • memory/2480-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2480-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2480-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB

  • memory/2804-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2804-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2804-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2804-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB