Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 05:47

General

  • Target

    2025-01-31_220d68c1d332753c1d9bb34d47f66739_mafia.exe

  • Size

    10.1MB

  • MD5

    220d68c1d332753c1d9bb34d47f66739

  • SHA1

    446daa197e7347902249fbac629ab9d132afd08b

  • SHA256

    d89b5b4cb51017fe20af1e97e2e361750e9fcdc287b7fce99065b552226497af

  • SHA512

    bacc9c6342c1beb70bf7832e45b2280d815021d1cee45ea8f91846c2e80c1b2291babe4c91b2569ec8405c982d7997fcc430d7004bfcff9dfcb26dd287c8f6fb

  • SSDEEP

    24576:MEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:Jfot

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-31_220d68c1d332753c1d9bb34d47f66739_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_220d68c1d332753c1d9bb34d47f66739_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qeipbwpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1900
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\qeipbwpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qeipbwpk binPath= "C:\Windows\SysWOW64\qeipbwpk\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_220d68c1d332753c1d9bb34d47f66739_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qeipbwpk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qeipbwpk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • 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:3024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3628 -s 792
      2⤵
      • Program crash
      PID:5108
  • C:\Windows\SysWOW64\qeipbwpk\hcgyozbz.exe
    C:\Windows\SysWOW64\qeipbwpk\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_220d68c1d332753c1d9bb34d47f66739_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4604
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4604 -s 508
      2⤵
      • Program crash
      PID:2104
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3628 -ip 3628
    1⤵
      PID:1448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4604 -ip 4604
      1⤵
        PID:2256

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        c2852932f1ca29aeedd95eaf207fefa0

        SHA1

        30b20c6e0a97f88d03ae9afa014e54c759c2e719

        SHA256

        ddb15f06bcdd564fa338a83939d20cb6a09a78dbba5ea6fd369ad7d38a1c9c39

        SHA512

        d30b16acb0fdfb2f872161363f8ce4021a29126eae8e4ba1585c5d08c5937c751c7029dc78709a72984b18076e6708d2fc3bbb3217834c44dde455e72b34ef5c

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3628-2-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3628-8-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

      • memory/3628-1-0x00000000007B0000-0x00000000008B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4604-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4756-14-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4756-16-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/4756-17-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB