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
    06-11-2024 19:02

General

  • Target

    2024-11-06_f4c675ba77abd4b560b6927107f04d5a_mafia.exe

  • Size

    12.6MB

  • MD5

    f4c675ba77abd4b560b6927107f04d5a

  • SHA1

    a57a67dc9ed2228fb3b02f4289dd632f01f9a82b

  • SHA256

    507aced06e7338e082a63b69fded2e8d40d92c9e15271d3f3ce9b4b564939c72

  • SHA512

    2bb27a269086ed8facedf1daa08e3acfc1b181425c244a25c31dccea7ed85b90caaaf8df241a464b3adefd244aeb49db3f3b14db0adf347cb83b078a32a07e00

  • SSDEEP

    49152:TVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGX:TVdrl/9zG

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\2024-11-06_f4c675ba77abd4b560b6927107f04d5a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-06_f4c675ba77abd4b560b6927107f04d5a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2268
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dahxxpcu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ihxtawb.exe" C:\Windows\SysWOW64\dahxxpcu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dahxxpcu binPath= "C:\Windows\SysWOW64\dahxxpcu\ihxtawb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-06_f4c675ba77abd4b560b6927107f04d5a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dahxxpcu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dahxxpcu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1556
    • 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:2372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2268 -s 1040
      2⤵
      • Program crash
      PID:4452
  • C:\Windows\SysWOW64\dahxxpcu\ihxtawb.exe
    C:\Windows\SysWOW64\dahxxpcu\ihxtawb.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-06_f4c675ba77abd4b560b6927107f04d5a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2908
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2908 -s 532
      2⤵
      • Program crash
      PID:1852
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2268 -ip 2268
    1⤵
      PID:3336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2908 -ip 2908
      1⤵
        PID:1640

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        4702d140a3f46a02b174974744d3549c

        SHA1

        15589f2f26348eff69c123c8c852bc6e7d815fa1

        SHA256

        0acb2707919900731bb73f4da0cdb193d118f5825e0b9d858e7ad0274fa29e60

        SHA512

        9ddfd21cf26af23c60db231fe46efa7586b7c166ea2f073117e8f34e745abfb7eb14b0db1cdf389334f22ceae9df09a8045ea60a3a1939bedd1c696ddb9b48dd

      • memory/2268-8-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2268-2-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB

      • memory/2268-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

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

        Filesize

        84KB

      • memory/2268-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

      • memory/2908-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/2908-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/2908-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/2908-18-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/4128-14-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/4128-16-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/4128-17-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB