Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 19:52

General

  • Target

    2025-02-01_141bea6130ec5e2c983d8b9c18276e9d_mafia.exe

  • Size

    12.2MB

  • MD5

    141bea6130ec5e2c983d8b9c18276e9d

  • SHA1

    ff7b3536e7515cbf29b3f5cddf04114c29e2a76d

  • SHA256

    ee6bcc7fff3777e6659e577b642bd719361ed2d9589648432e6721cd405bbc1a

  • SHA512

    fd75b9ba845ec6549cea8ab27df3f4219940039e7d568447ebeeb280fe0ec70c11210f14542fe83fddd37db80b5d03b4d26e2d8b9bb010113e64ed83646e2ba9

  • SSDEEP

    49152:8qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:8qtYc3

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-01_141bea6130ec5e2c983d8b9c18276e9d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_141bea6130ec5e2c983d8b9c18276e9d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pqgkneb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dycukvxv.exe" C:\Windows\SysWOW64\pqgkneb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pqgkneb binPath= "C:\Windows\SysWOW64\pqgkneb\dycukvxv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_141bea6130ec5e2c983d8b9c18276e9d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pqgkneb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pqgkneb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3020
    • 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:2968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4176 -s 1036
      2⤵
      • Program crash
      PID:3624
  • C:\Windows\SysWOW64\pqgkneb\dycukvxv.exe
    C:\Windows\SysWOW64\pqgkneb\dycukvxv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_141bea6130ec5e2c983d8b9c18276e9d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2372 -s 512
      2⤵
      • Program crash
      PID:4432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2372 -ip 2372
    1⤵
      PID:3548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 4176 -ip 4176
      1⤵
        PID:4700

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        02c73729047592a348db8fc95b47ac76

        SHA1

        005b6c07b0dab2aa80cb7bc7159760a822d0b711

        SHA256

        eb4879004ba0ee82d332672f71c085ad7b461d6519e1c59647fc34f03b1c95e8

        SHA512

        65aa1132ba80ba5a30a11a4d83f22787285d5c643a637bec0c0b2def7cb4ec78c402fda4380f33a2f5f540c36d10a8af17b463f115447c4f0c5c6012562993d6

      • memory/1760-8-0x0000000000200000-0x0000000000215000-memory.dmp

        Filesize

        84KB

      • memory/1760-14-0x0000000000200000-0x0000000000215000-memory.dmp

        Filesize

        84KB

      • memory/1760-15-0x0000000000200000-0x0000000000215000-memory.dmp

        Filesize

        84KB

      • memory/2372-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4176-1-0x0000000002FB0000-0x00000000030B0000-memory.dmp

        Filesize

        1024KB

      • memory/4176-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4176-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4176-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/4176-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB