Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 18:38

General

  • Target

    2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe

  • Size

    10.3MB

  • MD5

    5349a8ef8ca967bde36d9261ed712f15

  • SHA1

    cb38207ee1430bc4781a7b2f0d25c3605bea3fa2

  • SHA256

    4788a7c613284b815b02b29660d175a940ed28822171bf0b4f145404b35a8dd2

  • SHA512

    9e558a7835df822e240f690fbfacc7bf94bf94602d43419c3afa6a903d08ec2d0a7985e5537338636bf2950344b5f646cf6fc4c698b2f42b08e5c6ee6d1ec440

  • SSDEEP

    24576:UEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:xfot

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-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jpvtmbch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qdpmfsxh.exe" C:\Windows\SysWOW64\jpvtmbch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jpvtmbch binPath= "C:\Windows\SysWOW64\jpvtmbch\qdpmfsxh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jpvtmbch "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jpvtmbch
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:708
    • 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:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3124 -s 1040
      2⤵
      • Program crash
      PID:208
  • C:\Windows\SysWOW64\jpvtmbch\qdpmfsxh.exe
    C:\Windows\SysWOW64\jpvtmbch\qdpmfsxh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1496
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1496 -s 516
      2⤵
      • Program crash
      PID:112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3124 -ip 3124
    1⤵
      PID:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1496 -ip 1496
      1⤵
        PID:3664

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        b88204b566b28005c6ed693c2d9f6913

        SHA1

        f865a0fcf521337d613f655b2606db11a623017c

        SHA256

        9863f2b5840accd6d692c9c435faaea859fd3c8ea7d88e27426ddf2c7a876750

        SHA512

        14aeecd190391e3ed8a01734014da2f39f96bfe802f5318c140b63fbebab2f08483ff20f2a29052086a5a302d9eda8ed7e55e85de7d3c6d6c85db03aeb4cd5fe

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1880-14-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/1880-16-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/1880-17-0x0000000000120000-0x0000000000135000-memory.dmp

        Filesize

        84KB

      • memory/3124-8-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/3124-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3124-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB