Analysis

  • max time kernel
    149s
  • max time network
    157s
  • 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, 06:37

General

  • Target
    f777ab88e7988a6197689c84bd5c200b_JaffaCakes118.exe
  • Size 10.1MB
  • Sample240418-hdggrsdf87
  • SHA256 cc405e27cf3c45f22534764ed6c2c3d7dc46264b4c275cfc53b3cf6707c211a5
  • 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\f777ab88e7988a6197689c84bd5c200b_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f777ab88e7988a6197689c84bd5c200b_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yfldoquq\
      2⤵
        PID:2128
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vewvequl.exe" C:\Windows\SysWOW64\yfldoquq\
        2⤵
          PID:4560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create yfldoquq binPath= "C:\Windows\SysWOW64\yfldoquq\vewvequl.exe /d\"C:\Users\Admin\AppData\Local\Temp\f777ab88e7988a6197689c84bd5c200b_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description yfldoquq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start yfldoquq
          2⤵
          • Launches sc.exe
          PID:4896
        • 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:3996
      • C:\Windows\SysWOW64\yfldoquq\vewvequl.exe
        C:\Windows\SysWOW64\yfldoquq\vewvequl.exe /d"C:\Users\Admin\AppData\Local\Temp\f777ab88e7988a6197689c84bd5c200b_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4924
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3992

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            vewvequl.exe

            • Path C:\Users\Admin\AppData\Local\Temp\vewvequl.exe
            • Size 14.9MB
            • SHA256 174c1117161ed764af6666350fdcea90f0eaa6a381387192a3d8a992d9babf2b
            • MD5 SHA1 SHA512 SSDEEP

            memory/3992-11-0x0000000000E20000-0x0000000000E35000-memory.dmp

            memory/3992-18-0x0000000000E20000-0x0000000000E35000-memory.dmp

            memory/3992-17-0x0000000000E20000-0x0000000000E35000-memory.dmp

            memory/3992-16-0x0000000000E20000-0x0000000000E35000-memory.dmp

            memory/4808-3-0x00000000005E0000-0x00000000005E1000-memory.dmp

            memory/4808-7-0x000000005F000000-0x000000005F011000-memory.dmp

            memory/4808-6-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4808-0-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4808-1-0x00000000005D0000-0x00000000005D1000-memory.dmp

            memory/4808-2-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4924-9-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4924-10-0x0000000000400000-0x000000000041E000-memory.dmp

            memory/4924-12-0x0000000000400000-0x000000000041E000-memory.dmp