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:46

General

  • Target

    2025-01-25_85b00410f90774960ae46efec9f11613_mafia.exe

  • Size

    12.8MB

  • MD5

    85b00410f90774960ae46efec9f11613

  • SHA1

    7712e2db36a26029331d6e509113d042b90cf457

  • SHA256

    336f78a2424aea7feba8ab5cf2ace4dd0f94a6f2c89babf6b80b12ed8d3e1be1

  • SHA512

    b6de80de2e8d45b2ec0bb4b9370325620009841dcc06087162195bead77cb1886f7f5f23435a05d6d1ccd27e551c71d00180830a69f2c1dfdb850cf4afc5210e

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ:Mfot

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_85b00410f90774960ae46efec9f11613_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_85b00410f90774960ae46efec9f11613_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oprwztmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnnepypr.exe" C:\Windows\SysWOW64\oprwztmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oprwztmi binPath= "C:\Windows\SysWOW64\oprwztmi\tnnepypr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_85b00410f90774960ae46efec9f11613_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oprwztmi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oprwztmi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4452
    • 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:3612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2788 -s 1036
      2⤵
      • Program crash
      PID:5104
  • C:\Windows\SysWOW64\oprwztmi\tnnepypr.exe
    C:\Windows\SysWOW64\oprwztmi\tnnepypr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_85b00410f90774960ae46efec9f11613_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4948
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4948 -s 528
      2⤵
      • Program crash
      PID:876
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2788 -ip 2788
    1⤵
      PID:3944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4948 -ip 4948
      1⤵
        PID:2508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        fa5318964cda81acd0ae05c78774f733

        SHA1

        deb2b3a4442be493b3058fd5f5793531504a6cf4

        SHA256

        c43d77c8c69b20c14aa3a0538d77df236b27c8dc9548e88561039fffca69fbf0

        SHA512

        2246bfa19278bf72140f7906b0380fdbc694f032026959c0f831044dbf54f98f6ffb422961a8759b6cec6459abe5921b7fd8d8e6949c1d55c1dd1316059770fa

      • memory/2360-16-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2360-17-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/2360-14-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2788-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2788-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/2788-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB