Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18/04/2024, 14:05

General

  • Target
    f8280412bf45e83a637a9d523375463b_JaffaCakes118.exe
  • Size 10.8MB
  • Sample240418-rdxy7afb69
  • SHA256 aab4d171224cd7e59fd439190fb4a351bccb2299a553c2869d1e5e6a225bcb08
  • MD5 SHA1 SHA512 SSDEEP

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) 1 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f8280412bf45e83a637a9d523375463b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f8280412bf45e83a637a9d523375463b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wxrahhiu\
      2⤵
        PID:220
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgqlfroq.exe" C:\Windows\SysWOW64\wxrahhiu\
        2⤵
          PID:1560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wxrahhiu binPath= "C:\Windows\SysWOW64\wxrahhiu\bgqlfroq.exe /d\"C:\Users\Admin\AppData\Local\Temp\f8280412bf45e83a637a9d523375463b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4992
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wxrahhiu "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1540
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wxrahhiu
          2⤵
          • Launches sc.exe
          PID:3344
        • 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
          PID:1628
      • C:\Windows\SysWOW64\wxrahhiu\bgqlfroq.exe
        C:\Windows\SysWOW64\wxrahhiu\bgqlfroq.exe /d"C:\Users\Admin\AppData\Local\Temp\f8280412bf45e83a637a9d523375463b_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2176
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2036

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            bgqlfroq.exe

            • Path C:\Users\Admin\AppData\Local\Temp\bgqlfroq.exe
            • Size 11.8MB
            • SHA256 26acebd2d91e772c29891deacb6ebf1cb609387acd29fbfcdf1a58f80d48ea6c
            • MD5 SHA1 SHA512 SSDEEP

            memory/2036-12-0x0000000000980000-0x0000000000995000-memory.dmp

            memory/2036-18-0x0000000000980000-0x0000000000995000-memory.dmp

            memory/2036-17-0x0000000000980000-0x0000000000995000-memory.dmp

            memory/2036-16-0x0000000000980000-0x0000000000995000-memory.dmp

            memory/2176-10-0x0000000000820000-0x0000000000920000-memory.dmp

            memory/2176-11-0x0000000000400000-0x000000000045A000-memory.dmp

            memory/2176-14-0x0000000000400000-0x000000000045A000-memory.dmp

            memory/4364-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

            memory/4364-7-0x00000000005C0000-0x00000000005D3000-memory.dmp

            memory/4364-6-0x0000000000400000-0x000000000045A000-memory.dmp

            memory/4364-3-0x0000000000400000-0x000000000045A000-memory.dmp

            memory/4364-2-0x00000000005C0000-0x00000000005D3000-memory.dmp