Analysis

  • max time kernel
    147s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    04-11-2024 22:21

General

  • Target

    2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe

  • Size

    12.3MB

  • MD5

    b5b8baadae1b217da5ad840ba6712a03

  • SHA1

    402c25bf0813af7640a96aeed48ee9ff5fcd4324

  • SHA256

    7cae49537cb6924e95212c0cb4c79a9f3b86a652e085b733888052890b7ec68e

  • SHA512

    7fd604b1329e8e61c904a4b7231d31e5cd06743fad8093961a06c3def34409297660525b236c28caf45cfae40f17408fe1ebc5313d80bd72a44b5fff803e7961

  • SSDEEP

    49152:rVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe:rVdrl/9zG

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-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\huqddrsd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dfaricjc.exe" C:\Windows\SysWOW64\huqddrsd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create huqddrsd binPath= "C:\Windows\SysWOW64\huqddrsd\dfaricjc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description huqddrsd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start huqddrsd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • 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:2824
  • C:\Windows\SysWOW64\huqddrsd\dfaricjc.exe
    C:\Windows\SysWOW64\huqddrsd\dfaricjc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2744
    • 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:2492

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    1140353be81778c46d85d1181dc17d8e

    SHA1

    1ef46981f33ecd84ddf87a9d5dd699569f3a40df

    SHA256

    ce6424c8f6080b12e84697beb0471e4cca26e853a63f7379622f0d7508d88d8c

    SHA512

    85f9bb51ff1602425905e6028a2202664d2056ade902080aabb6be8dfd2a5928154a69506beaae0f7876110c4f4b66d170d3437f6a04b80df317fd6e1c51eab4

  • memory/2492-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2492-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2492-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2640-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2640-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2640-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2640-7-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB

  • memory/2640-1-0x0000000000660000-0x0000000000760000-memory.dmp

    Filesize

    1024KB

  • memory/2744-17-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB