Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-06-2024 20:20

General

  • Target

    2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe

  • Size

    11.8MB

  • MD5

    e47cf404094bbac14300b8b6525cc895

  • SHA1

    4aa8d94eca6db073799dab29a2995f41451fbf9e

  • SHA256

    2b1a7ddd00423c781fb634cc0c0503d497d87d2ea446e6ed5aea5d2519908926

  • SHA512

    903f147de2009507effe3a65b91103db46ed659c16ea2f0ee50c48101b1b34edb6f6392591ed367765567acc8e824595637be5a67788018bd80103778370852c

  • SSDEEP

    6144:z+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:z+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\trhazyfh\
      2⤵
        PID:2272
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqxtsbzq.exe" C:\Windows\SysWOW64\trhazyfh\
        2⤵
          PID:3032
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create trhazyfh binPath= "C:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2212
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description trhazyfh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2328
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start trhazyfh
          2⤵
          • Launches sc.exe
          PID:1152
        • 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
          PID:2244
      • C:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exe
        C:\Windows\SysWOW64\trhazyfh\sqxtsbzq.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4784
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:916

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        a0555bbebc7b275f4ac5f247168e1f08

        SHA1

        fc690e98acbb5340d81c4b90e1dd9e9c81a08136

        SHA256

        a0feaee6566a18783973e1285d980bda45c6dad579469991438c65fa300fd039

        SHA512

        98b029a4748f2b77f24eaed8ab220aad923677366bc9b7b5e6f830c26361669d3232bde6e40126d761bb71005cfa490deea7437a5cb9ecaf90b1a6e96eb20307

      • memory/916-11-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/916-13-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/916-16-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/2184-1-0x0000000000840000-0x0000000000940000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2184-7-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2184-6-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4784-9-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4784-10-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4784-15-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB