Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-01-2025 20:16

General

  • Target

    2025-01-19_94d9d5513aa7269bb2734c7c1e670541_mafia.exe

  • Size

    10.2MB

  • MD5

    94d9d5513aa7269bb2734c7c1e670541

  • SHA1

    0328f7cfd4f148160887f41f7e0a0af34fde2a92

  • SHA256

    03a8782d01757fe8bb672e1a17074c9ba419a888a691754436908cbeffffc89c

  • SHA512

    acfe7fdcda9189ef4a46e34c65da738a066eba06693cc507ccef973e122899bb60bacec6fb144a271661be18b351a435f4002062c32c039e6e6b8978553974f8

  • SSDEEP

    6144:/LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:kTYe+D2jFu+iZoUFhAz

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-19_94d9d5513aa7269bb2734c7c1e670541_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_94d9d5513aa7269bb2734c7c1e670541_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\honwfeg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ttufabzh.exe" C:\Windows\SysWOW64\honwfeg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create honwfeg binPath= "C:\Windows\SysWOW64\honwfeg\ttufabzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_94d9d5513aa7269bb2734c7c1e670541_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description honwfeg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start honwfeg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • 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:4192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4824 -s 788
      2⤵
      • Program crash
      PID:1592
  • C:\Windows\SysWOW64\honwfeg\ttufabzh.exe
    C:\Windows\SysWOW64\honwfeg\ttufabzh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_94d9d5513aa7269bb2734c7c1e670541_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4452
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4452 -s 516
      2⤵
      • Program crash
      PID:1752
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4824 -ip 4824
    1⤵
      PID:3128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4452 -ip 4452
      1⤵
        PID:1820

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        cd57c05ad8a063d2ee5093c556419ce9

        SHA1

        af591dfce6d7818a5acf2fe7038d2e219e078a53

        SHA256

        d7edc788cb8acee74cb0d79fe1fcc46884a028c2acf77417a51fc6d5fdc9eb00

        SHA512

        12ab4a6cd306b15a1df02638ca87e47bb6f33ae039979e81257ea15d780881a620aa9b238a4df4051cf15db884932fb9687a78a657ebd33f7a99efd2bb1223d2

      • memory/4452-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4452-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4452-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4452-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4824-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4824-1-0x0000000000540000-0x0000000000640000-memory.dmp

        Filesize

        1024KB

      • memory/4824-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4824-14-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4824-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/5056-11-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/5056-18-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/5056-19-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB