Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 18:57

General

  • Target

    2025-01-25_cdf6691f9acb932affd7efbe0f87c67b_mafia.exe

  • Size

    12.5MB

  • MD5

    cdf6691f9acb932affd7efbe0f87c67b

  • SHA1

    6eef017fc547bf10e160edb2c353c8c38f7cb2f6

  • SHA256

    c622452a6ef4332517517de6d958dc47b9f9a6fe902cac7ab04482ab94f00a18

  • SHA512

    b94d846d568150a5b00156710ef62f3c7d05e31572114f89cb2d28dbd2337d6e37e1a556f778122d82e279b67c6c2738d9245d095af813147da30de3bb2690f5

  • SSDEEP

    393216:RXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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-25_cdf6691f9acb932affd7efbe0f87c67b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_cdf6691f9acb932affd7efbe0f87c67b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fmsnwjqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ylxunafp.exe" C:\Windows\SysWOW64\fmsnwjqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fmsnwjqa binPath= "C:\Windows\SysWOW64\fmsnwjqa\ylxunafp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_cdf6691f9acb932affd7efbe0f87c67b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fmsnwjqa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fmsnwjqa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3604
    • 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:1208
  • C:\Windows\SysWOW64\fmsnwjqa\ylxunafp.exe
    C:\Windows\SysWOW64\fmsnwjqa\ylxunafp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_cdf6691f9acb932affd7efbe0f87c67b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2848
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1760

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    e29732a988ae4364c94cc08f4a2066d4

    SHA1

    aaeb96054f37064983f4500e89605405a8eaa03e

    SHA256

    750a3e45eb2ba3c5158e7b1020c057d41ba34dc0464cd919ef6ebc0ff235a900

    SHA512

    8d4d4eb129732752128a40a1347b709dad752388733d44aa32eecfb8bcd75e025184bac829204a50f5790b17b11d0993efc264843351d0f22f9259a6905a5b45

  • memory/1760-14-0x0000000000120000-0x0000000000135000-memory.dmp

    Filesize

    84KB

  • memory/1760-22-0x0000000000120000-0x0000000000135000-memory.dmp

    Filesize

    84KB

  • memory/1760-21-0x0000000000120000-0x0000000000135000-memory.dmp

    Filesize

    84KB

  • memory/1760-18-0x0000000000120000-0x0000000000135000-memory.dmp

    Filesize

    84KB

  • memory/2848-20-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB

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

    Filesize

    372KB

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

    Filesize

    372KB

  • memory/3772-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

    Filesize

    1024KB

  • memory/3772-13-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3772-11-0x0000000000890000-0x00000000008A3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/3772-2-0x0000000000890000-0x00000000008A3000-memory.dmp

    Filesize

    76KB