Analysis

  • max time kernel
    146s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 10:43

General

  • Target

    2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe

  • Size

    13.9MB

  • MD5

    5d4530f4539414ec9edc8c7af562a62a

  • SHA1

    bf6c1885985e624fa874eb3b7f6ba0ee7a8d786d

  • SHA256

    85e53d805fdc69c8dedafa896ceb421bd636a3d94652671768af4fbca7e89ca0

  • SHA512

    716ef912db4aff47256ae0922ce8e9377feac7336187d511c4c0d1de99a591a97b5e185ab1ac5670cc0be7fe56d083e2c9f3408562fc5d75e2b43f8a1bed3501

  • SSDEEP

    393216:+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fmxoaaba\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fhciboy.exe" C:\Windows\SysWOW64\fmxoaaba\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fmxoaaba binPath= "C:\Windows\SysWOW64\fmxoaaba\fhciboy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fmxoaaba "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fmxoaaba
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3916
    • 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:4632
  • C:\Windows\SysWOW64\fmxoaaba\fhciboy.exe
    C:\Windows\SysWOW64\fmxoaaba\fhciboy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_5d4530f4539414ec9edc8c7af562a62a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1324
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4832

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    f343626f2efb58c53e9024bd03676650

    SHA1

    c33792673d138029fc2f66c314b229b9d3c907e4

    SHA256

    5c43ec92a8e7260c51e34b341eb6c142eb2024ab0feb0e24069154549f9ac861

    SHA512

    a64f73a15441847329ed102e11dfa34f02af3ea41791843e2c59a66e890f1b78ec78fd4932c7e9c8c064c5007a02ef7e95b66f15c0a23c392e00f0392b785f8a

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

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/224-2-0x0000000000530000-0x0000000000543000-memory.dmp

    Filesize

    76KB

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

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/224-15-0x0000000000530000-0x0000000000543000-memory.dmp

    Filesize

    76KB

  • memory/1324-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1324-19-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1324-10-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1324-9-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4832-17-0x0000000000D10000-0x0000000000D25000-memory.dmp

    Filesize

    84KB

  • memory/4832-11-0x0000000000D10000-0x0000000000D25000-memory.dmp

    Filesize

    84KB

  • memory/4832-20-0x0000000000D10000-0x0000000000D25000-memory.dmp

    Filesize

    84KB

  • memory/4832-21-0x0000000000D10000-0x0000000000D25000-memory.dmp

    Filesize

    84KB

  • memory/4832-22-0x0000000000D10000-0x0000000000D25000-memory.dmp

    Filesize

    84KB