Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 19:48

General

  • Target

    2025-02-01_02c73729047592a348db8fc95b47ac76_mafia.exe

  • Size

    13.5MB

  • MD5

    02c73729047592a348db8fc95b47ac76

  • SHA1

    005b6c07b0dab2aa80cb7bc7159760a822d0b711

  • SHA256

    eb4879004ba0ee82d332672f71c085ad7b461d6519e1c59647fc34f03b1c95e8

  • SHA512

    65aa1132ba80ba5a30a11a4d83f22787285d5c643a637bec0c0b2def7cb4ec78c402fda4380f33a2f5f540c36d10a8af17b463f115447c4f0c5c6012562993d6

  • SSDEEP

    49152:BqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:BqtYc3

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-02-01_02c73729047592a348db8fc95b47ac76_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_02c73729047592a348db8fc95b47ac76_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wgfqbvnm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlepwesi.exe" C:\Windows\SysWOW64\wgfqbvnm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wgfqbvnm binPath= "C:\Windows\SysWOW64\wgfqbvnm\jlepwesi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_02c73729047592a348db8fc95b47ac76_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wgfqbvnm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wgfqbvnm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4680
    • 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:4008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4396 -s 1036
      2⤵
      • Program crash
      PID:4020
  • C:\Windows\SysWOW64\wgfqbvnm\jlepwesi.exe
    C:\Windows\SysWOW64\wgfqbvnm\jlepwesi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_02c73729047592a348db8fc95b47ac76_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4800
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4800 -s 532
      2⤵
      • Program crash
      PID:1972
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4800 -ip 4800
    1⤵
      PID:4748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4396 -ip 4396
      1⤵
        PID:4372

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        8ab2b5c032a15ad7d3f7f9499865c209

        SHA1

        a5dcb1e5db10e1c6a3960a93a93dd08ebbdf751c

        SHA256

        788db6a25688e77474bcbe907dba63373b5fd6e2833ab9011619018cd12dc7c9

        SHA512

        56a9800f2c885975ee1b84df762e1cdafaca7bf25d6c8b2fb0be94ea8122161e9411c3cc753213e0df7aaf5a2d8c3c928d36171034317fb352429f5719d783be

      • memory/628-8-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

      • memory/628-14-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

      • memory/628-15-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

      • memory/4396-1-0x00000000030D0000-0x00000000031D0000-memory.dmp

        Filesize

        1024KB

      • memory/4396-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4396-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        41.8MB

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

        Filesize

        41.8MB