Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-12-2024 23:18

General

  • Target

    JaffaCakes118_c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4.exe

  • Size

    165KB

  • MD5

    61d5927de2e87d20ed931c0477093c00

  • SHA1

    13576aee06b240532a623e54ada4349112ee70a3

  • SHA256

    c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4

  • SHA512

    9b721bd4a2ce6268c5239c8c7e1ffc8e3bc487d9de79451ba5b5a2744488d4867250e576f8a25260dd84b069419b4cdd2376f1d4433e4b127ee5f8eb0fd80e53

  • SSDEEP

    3072:8HecR8524A4opoavTqaeqUFM+7U7FA5jdDn4qko9K2D22y0u2:BcR024NlaTzUFM+7mArkgqe

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rhbcznzq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nxcpwrqf.exe" C:\Windows\SysWOW64\rhbcznzq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rhbcznzq binPath= "C:\Windows\SysWOW64\rhbcznzq\nxcpwrqf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rhbcznzq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rhbcznzq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1612
    • 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:4912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4476 -s 672
      2⤵
      • Program crash
      PID:1240
  • C:\Windows\SysWOW64\rhbcznzq\nxcpwrqf.exe
    C:\Windows\SysWOW64\rhbcznzq\nxcpwrqf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c7afe2610ad94ccc44eae5c2251ffa81e94043fb2990325f47c8fe8f5cfdf6e4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4788
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4788 -s 572
      2⤵
      • Program crash
      PID:3116
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4788 -ip 4788
    1⤵
      PID:1264
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 4476 -ip 4476
      1⤵
        PID:636

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        82a7972ad7c5deb0271718d8546ec500

        SHA1

        84a46901f7aedb8298cc49b1503b58b97197f898

        SHA256

        1bf955e26342ca9ebfd4d98f3bc2cd6eac038f7b3a4c3d329178160b79d49b0e

        SHA512

        4f6544ce442097391ccace4713314d645d8785327fff02d2011190aa4a691d2307c649de657d2eb33042c315833ef61bffbf2f04b62a01ec2ad12be81e85c989

      • memory/1940-9-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/1940-21-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/1940-20-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/1940-19-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/1940-12-0x0000000000370000-0x0000000000385000-memory.dmp

        Filesize

        84KB

      • memory/4476-17-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/4476-16-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/4476-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4476-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/4476-15-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/4476-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4476-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/4788-8-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/4788-6-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/4788-14-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB

      • memory/4788-7-0x0000000000400000-0x0000000000431000-memory.dmp

        Filesize

        196KB