Analysis

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

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

General

  • Target

    2024-06-19_98fa720e04828c3150ee35c8cb30f403_mafia.exe

  • Size

    14.6MB

  • MD5

    98fa720e04828c3150ee35c8cb30f403

  • SHA1

    d5b7405bd6d33d41b06f12dc8c15dc6abe65db4a

  • SHA256

    adebf698ce7862226c1794aafa272bc8bdd8363ccfb2ed52964912f89f79e61e

  • SHA512

    f0d572dac42f07c94debb447ff084e523dc9e7e7d597ad789f87d0459193db6d3d1e7c20b4afb072ca7bbd54d090524e625ba5f69e30f64ed610699804c3a3b8

  • SSDEEP

    6144:2+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:2+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-19_98fa720e04828c3150ee35c8cb30f403_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-19_98fa720e04828c3150ee35c8cb30f403_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fjyqtcma\
      2⤵
        PID:1556
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cldclxbs.exe" C:\Windows\SysWOW64\fjyqtcma\
        2⤵
          PID:4744
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fjyqtcma binPath= "C:\Windows\SysWOW64\fjyqtcma\cldclxbs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-19_98fa720e04828c3150ee35c8cb30f403_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fjyqtcma "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1168
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fjyqtcma
          2⤵
          • Launches sc.exe
          PID:1760
        • 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:2784
      • C:\Windows\SysWOW64\fjyqtcma\cldclxbs.exe
        C:\Windows\SysWOW64\fjyqtcma\cldclxbs.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-19_98fa720e04828c3150ee35c8cb30f403_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3404
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4356

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        0acf7bf9d23da815b504acb5e2b1d0a1

        SHA1

        dce9a8a7a5ca37e80926d072a5505c8e3b85af76

        SHA256

        bf0571df4aa61c11d080b85e1b130108a81323c0ac4c7fd5bdb1dd4c36fb9ef9

        SHA512

        91b88b2d95fbe1e7ae84bd1a2372ef4c62969d9e017a27d86549fd5be28f365ecef1d5278b8f39e914e57917225444853d9682e8554c397ceddf6bb509c72d5c

      • memory/2304-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

      • memory/4356-11-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4356-13-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4356-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB