Resubmissions

30/01/2025, 03:07

250130-dmjk9sxjbz 10

29/01/2025, 17:28

250129-v1zm3ssrgm 10

Analysis

  • max time kernel
    145s
  • 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
    29/01/2025, 17:28

General

  • Target

    2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe

  • Size

    10.8MB

  • MD5

    566bbb19f3c7cc564d8bc4387efba05c

  • SHA1

    7d5c801927244a0c64a164fe66f23c2c7566bee3

  • SHA256

    18a7e2c03f3ef42f3f49633f77567e9d52126bfb9d7364d3a64cecf242279583

  • SHA512

    eaac74c7a2fced2ef0237b12004949391d2b55f8922b184cdd07adc71a8e4366f368f2541c91103f0d5eb6ed3823b790c41e9ae3754c51469cbf1260d9ca8d64

  • SSDEEP

    49152:lqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:lqtYc3

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-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjexofaz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\gjexofaz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gjexofaz binPath= "C:\Windows\SysWOW64\gjexofaz\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gjexofaz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gjexofaz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4280
    • 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:228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5032 -s 1168
      2⤵
      • Program crash
      PID:2180
  • C:\Windows\SysWOW64\gjexofaz\saptgenn.exe
    C:\Windows\SysWOW64\gjexofaz\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3652
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3652 -s 528
      2⤵
      • Program crash
      PID:2496
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3652 -ip 3652
    1⤵
      PID:2116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 5032 -ip 5032
      1⤵
        PID:4940

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        d593f8375ff0df3c53bcb949b81980e5

        SHA1

        c89752b2cdad561687010104461b6215cbee870d

        SHA256

        1a8afb0a9fe1d212e9c88917ab4cb2ba7c486266dffaf413e896720ffdf7014d

        SHA512

        d9632aadd6ff42de02b801cb729976e31e5bd1f4b8e3f9af11cccb2fc23129d421c311bebade97eec2067f6d28a8e42646baf56ceb0dfe99f53fe9af36853051

      • memory/3552-8-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/3552-14-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/3552-15-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

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

        Filesize

        41.8MB

      • memory/5032-1-0x0000000002F30000-0x0000000003030000-memory.dmp

        Filesize

        1024KB

      • memory/5032-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/5032-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB