Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    04-02-2025 09:53

General

  • Target

    2025-02-04_a87664dadce031ab306fdb20795320bc_mafia.exe

  • Size

    12.6MB

  • MD5

    a87664dadce031ab306fdb20795320bc

  • SHA1

    386ce0b08bc13e21b82a2f517581208451de7de7

  • SHA256

    d535b67d8ffe96f8a496131b8cbe8263c50553bd0ee8f335df2f8cc7944f7bf2

  • SHA512

    a71dd8214370ffc66d96e0415f26924f3bf71149816831155a104d0a871db5280fe96538669158dd982bee08c75369893daca58d4d87b99e9d2a9b0c3acf92bd

  • SSDEEP

    393216:OXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:o

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-04_a87664dadce031ab306fdb20795320bc_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_a87664dadce031ab306fdb20795320bc_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aelbihqx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afpkeqnp.exe" C:\Windows\SysWOW64\aelbihqx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aelbihqx binPath= "C:\Windows\SysWOW64\aelbihqx\afpkeqnp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_a87664dadce031ab306fdb20795320bc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aelbihqx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aelbihqx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • 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:2968
  • C:\Windows\SysWOW64\aelbihqx\afpkeqnp.exe
    C:\Windows\SysWOW64\aelbihqx\afpkeqnp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_a87664dadce031ab306fdb20795320bc_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2668
    • 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:2576

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.9MB

    MD5

    940d3d596c65246438c652cedd0509d7

    SHA1

    159cb10416c1fcdf5831b7866db069cb8756c99c

    SHA256

    20569d808153414c12c5004f71fd91df769a8981c6589f64fce7a72e5af50276

    SHA512

    1e306738b55baafea35e4d9ede2268c3ceec18ce3a929a81bb0ff483ccb8afe47a7eb43a49c033283be32128dc26e06c7a1b78524515c2e0ae4ab73809878312

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2668-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/3040-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/3040-14-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB