Analysis

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

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

General

  • Target

    2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe

  • Size

    10.8MB

  • MD5

    bc0920bf926ce5afd4b3bddbe164c661

  • SHA1

    02d2615da6e80b0f12c8f5af0059034365a7e7c6

  • SHA256

    125855b740b1777ffecc46e376fba8c12e89daa1ac4d4c64c9df5ecc00380b74

  • SHA512

    56f38c84ff5439fe5301fcbc934f8a0212bb535b1e6d41d5207a2b7ce18713eda482557cfa3bec79f3ee77a2e3153c946234230070e2fae85d3a9ab67b5877b5

  • SSDEEP

    6144:1LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:GTYe+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-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\coxnarna\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\coxnarna\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create coxnarna binPath= "C:\Windows\SysWOW64\coxnarna\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description coxnarna "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start coxnarna
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1332
    • 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:3140
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 724
      2⤵
      • Program crash
      PID:4648
  • C:\Windows\SysWOW64\coxnarna\jiwymjkc.exe
    C:\Windows\SysWOW64\coxnarna\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3376
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3280
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3376 -s 516
      2⤵
      • Program crash
      PID:3408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 212 -ip 212
    1⤵
      PID:1848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3376 -ip 3376
      1⤵
        PID:344

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        114a9492c862494db7c17bfb27ecaf36

        SHA1

        76547c4a6d09e4e1ec9eea2ce75abcc767ec558f

        SHA256

        332081b60784f17c791cf86beaa34f15f73c0c4456e8b9efc1f04f794f940ff7

        SHA512

        c116482c1c203bffee714159a02a542c56b29b743edf81bf03fcd43bf4f25a924d3a65ff8976dd128de2cb74239463e442c6631ac8f3b8c67fa91d5228b73d9d

      • memory/212-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/212-1-0x00000000007D0000-0x00000000008D0000-memory.dmp

        Filesize

        1024KB

      • memory/212-17-0x0000000000730000-0x0000000000743000-memory.dmp

        Filesize

        76KB

      • memory/212-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/212-2-0x0000000000730000-0x0000000000743000-memory.dmp

        Filesize

        76KB

      • memory/3280-9-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3280-14-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3280-19-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3280-20-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/3280-21-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB