Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-02-2025 08:43

General

  • Target

    2025-02-04_6d60b96b09a8a32c43e61f0d55597a46_mafia.exe

  • Size

    14.7MB

  • MD5

    6d60b96b09a8a32c43e61f0d55597a46

  • SHA1

    77bb5533c32405e356e8651302ea9c8f29d3076d

  • SHA256

    0070e257bc8f51111460d5951238555fb00b9a7416a69204a2d74db64fa72ce0

  • SHA512

    3fdae3f4df849242364fd36c5df6ef196114c532c215b2d4735a81baf560ba7e1c503545f78844b5ad56c132afd6168cbb1c9bcc6118254c0892d762684cc910

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/k:ROMdRQr7OB0ypmMXnl8XEPM3noSWOCZ

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-04_6d60b96b09a8a32c43e61f0d55597a46_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_6d60b96b09a8a32c43e61f0d55597a46_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bqmnhanu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4900
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bsayidky.exe" C:\Windows\SysWOW64\bqmnhanu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bqmnhanu binPath= "C:\Windows\SysWOW64\bqmnhanu\bsayidky.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_6d60b96b09a8a32c43e61f0d55597a46_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bqmnhanu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bqmnhanu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • 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:4984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 876 -s 668
      2⤵
      • Program crash
      PID:1332
  • C:\Windows\SysWOW64\bqmnhanu\bsayidky.exe
    C:\Windows\SysWOW64\bqmnhanu\bsayidky.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_6d60b96b09a8a32c43e61f0d55597a46_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2392
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2392 -s 532
      2⤵
      • Program crash
      PID:1576
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 876 -ip 876
    1⤵
      PID:4148
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2392 -ip 2392
      1⤵
        PID:1656

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        7a6280a4cd4022f2cd479c13ac7af8d9

        SHA1

        3ed6f70cebf926730155e74e0afaf2948cfcac92

        SHA256

        929f5b06db9f67b17f6990a880725131710ce6614bae5c0ff45f46c43b62e47e

        SHA512

        f70442b54b31f916b8c10fbfcb6287babae0ed2515b152d7b248886b676cf50bba51791c0f09ea68b077c101302f130c2bdabfe5a6d7a28f8c23a30e45d1ec06

      • memory/876-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/876-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

      • memory/876-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/876-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

      • memory/876-1-0x0000000000490000-0x0000000000590000-memory.dmp

        Filesize

        1024KB

      • memory/2392-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2392-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2392-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2392-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4176-14-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/4176-16-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/4176-17-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB