Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-01-2025 17:30

General

  • Target

    2025-01-08_000902790eacc0ac293c991dcdfae295_mafia.exe

  • Size

    14.6MB

  • MD5

    000902790eacc0ac293c991dcdfae295

  • SHA1

    58e9ba8e74cd2a5209c434c1a3d5ddfa2dae9f41

  • SHA256

    8c9d73f067077892c0ffbe4778c063fc50ad6235c6e35e08e7358bb5e6751ab3

  • SHA512

    9c9abdb9383b20f28358e8c0fcf7a4545219b5218caaf57d7dbdf93f6efb000e8d2ad135f79cabc9bfae9b33e4db37bd1fd2ba68e351523452e882f86f0ed80e

  • SSDEEP

    49152:2qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:2qtYc3

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.

  • Program crash 2 IoCs
  • 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-08_000902790eacc0ac293c991dcdfae295_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-08_000902790eacc0ac293c991dcdfae295_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\psbsjqhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ivhexkpz.exe" C:\Windows\SysWOW64\psbsjqhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create psbsjqhm binPath= "C:\Windows\SysWOW64\psbsjqhm\ivhexkpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-08_000902790eacc0ac293c991dcdfae295_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description psbsjqhm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start psbsjqhm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1892
    • 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:4780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1008 -s 580
      2⤵
      • Program crash
      PID:4892
  • C:\Windows\SysWOW64\psbsjqhm\ivhexkpz.exe
    C:\Windows\SysWOW64\psbsjqhm\ivhexkpz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-08_000902790eacc0ac293c991dcdfae295_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4504
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4504 -s 512
      2⤵
      • Program crash
      PID:1188
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1008 -ip 1008
    1⤵
      PID:4856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4504 -ip 4504
      1⤵
        PID:5112

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        566bbb19f3c7cc564d8bc4387efba05c

        SHA1

        7d5c801927244a0c64a164fe66f23c2c7566bee3

        SHA256

        18a7e2c03f3ef42f3f49633f77567e9d52126bfb9d7364d3a64cecf242279583

        SHA512

        eaac74c7a2fced2ef0237b12004949391d2b55f8922b184cdd07adc71a8e4366f368f2541c91103f0d5eb6ed3823b790c41e9ae3754c51469cbf1260d9ca8d64

      • memory/1008-1-0x0000000002E10000-0x0000000002F10000-memory.dmp

        Filesize

        1024KB

      • memory/1008-2-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1008-12-0x0000000002F10000-0x0000000002F23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1008-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2744-8-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/2744-14-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/2744-15-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/4504-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB