Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 16:22

General

  • Target

    2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe

  • Size

    13.2MB

  • MD5

    27747ecbdcce808c6ce32bfba76df845

  • SHA1

    cbe66e57f5a6e322d0f4655244dec4ef71f2a615

  • SHA256

    8725b4f41a04a1ca522aef8849a5913c92ac25c25f48cfdc8088fedb849fa71a

  • SHA512

    c3ff3d5f7c58ac2287d7547d2a0cb7558149b96461e98f311e3876731d46ec80eeb49dbaab6604dda2efd388d5c291f0312bbde328ffa5585ca191202dacb8cc

  • SSDEEP

    3072:JLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/B:MOMdRQr7OB0ypmMXnl8XEPM3noSWOCW

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-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kyiqqclx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbbsdmdf.exe" C:\Windows\SysWOW64\kyiqqclx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kyiqqclx binPath= "C:\Windows\SysWOW64\kyiqqclx\hbbsdmdf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kyiqqclx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kyiqqclx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:884
    • 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:1032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4776 -s 1264
      2⤵
      • Program crash
      PID:5028
  • C:\Windows\SysWOW64\kyiqqclx\hbbsdmdf.exe
    C:\Windows\SysWOW64\kyiqqclx\hbbsdmdf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_27747ecbdcce808c6ce32bfba76df845_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3336
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3336 -s 512
      2⤵
      • Program crash
      PID:5104
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4776 -ip 4776
    1⤵
      PID:2448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3336 -ip 3336
      1⤵
        PID:3176

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        2f36dd362f8b5cf15f734d3c3b86effa

        SHA1

        ef8ed39658851c956e38e931efafc2b280ca2e46

        SHA256

        f35e673b75499dd1193f37ccf96ae4ad9a2a2a4b318a7fe61b38130148aba965

        SHA512

        9a8d353af1b4865f0961a0f23042bc292207b71a588e94fba5e1a7c833c6319869736933da65b76cb9450934dc3e4fa40388b2d939dda343b825bb1cba887440

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4144-14-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/4144-16-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/4144-17-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4776-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4776-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4776-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB