Analysis

  • max time kernel
    148s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    30/01/2025, 19:58

General

  • Target

    2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe

  • Size

    13.1MB

  • MD5

    f0bfff82b4873196d13a495b6b655055

  • SHA1

    e0e570d3002dfcc34c0cbf1adf78ee311bd8b2fe

  • SHA256

    59a4252fc5f03645821316b1d732ff452368561d8c4b2afd22bf2feb7dd98388

  • SHA512

    b8e2c7e5d81710036c95c1820f83e03bf4093345570790509417224d77c935864b5114562740400353f0af9241331f0e00afa9a4dff43b568d51263d6771a691

  • SSDEEP

    49152:XqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPJ:XqtYc3m

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-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hacykzbd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\hacykzbd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hacykzbd binPath= "C:\Windows\SysWOW64\hacykzbd\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_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 hacykzbd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hacykzbd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1412
    • 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:2732
  • C:\Windows\SysWOW64\hacykzbd\ofnlvqxl.exe
    C:\Windows\SysWOW64\hacykzbd\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2684
    • 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:2172

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.9MB

    MD5

    f4244194c95ba6390d5ba036797270ec

    SHA1

    a03f6998772ea0ffee8912177b96c9d4a6795230

    SHA256

    d33ed62cc5d6455e051805b0954c2ce255d74b1b64d791d4cebd893d8292ab0c

    SHA512

    3687aaeb674ec9099793fb624b6570f07c8da752ce05e3915374a48a7ec89437aed114cec80e32812a929e441404606a9df34def4d650d34328f56d23a6ed913

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

    Filesize

    84KB

  • memory/2172-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2172-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2684-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2772-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2772-7-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/2772-1-0x0000000002ED0000-0x0000000002FD0000-memory.dmp

    Filesize

    1024KB