Analysis

  • max time kernel
    146s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    03-11-2024 10:03

General

  • Target

    2024-11-03_dbf282e8f2699b7b683a7c7f900d3224_mafia.exe

  • Size

    13.4MB

  • MD5

    dbf282e8f2699b7b683a7c7f900d3224

  • SHA1

    d06c54d9024c6a280684819ff347b96f9dd3f7d2

  • SHA256

    1871a038c5133bcba2db205e78240a9014d9df40425007c77df9be913b70d851

  • SHA512

    f0209aa921f52fa413d4dd4e60a9b50af094489f957486ecaddfcbfc41d48b371163fcbcf52474cfe56280b8d5a82e06b0ed96ba7040e83945498d8c5619c2cb

  • SSDEEP

    196608:v3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaai:v

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-03_dbf282e8f2699b7b683a7c7f900d3224_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_dbf282e8f2699b7b683a7c7f900d3224_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\habhpzwc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xkybddbo.exe" C:\Windows\SysWOW64\habhpzwc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create habhpzwc binPath= "C:\Windows\SysWOW64\habhpzwc\xkybddbo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_dbf282e8f2699b7b683a7c7f900d3224_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description habhpzwc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start habhpzwc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:1964
  • C:\Windows\SysWOW64\habhpzwc\xkybddbo.exe
    C:\Windows\SysWOW64\habhpzwc\xkybddbo.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_dbf282e8f2699b7b683a7c7f900d3224_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2880
    • 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:2316

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    1110e1608d5d2f6a8ab976a0cdce28c9

    SHA1

    9b74899f4d1024eec376bbf070c3eff6e620bd88

    SHA256

    21aa03fb8fd5b0461c5179b34336a8be3ff62f5d952065d4632a0b614e709f33

    SHA512

    9c852b4226c9329a0ac58e478a922b3ae931d413094549bf935eafc77e08730737145316a9353b70f02b28025a6c6705d2135a4abd5918f0c09bc89e40a457a9

  • memory/2112-15-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2112-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

    Filesize

    1024KB

  • memory/2112-14-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2880-12-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB