Analysis

  • max time kernel
    48s
  • max time network
    108s
  • platform
    windows7_x64
  • resource
    win7v20210410
  • submitted
    22/05/2021, 15:56

General

  • Target
    229bc019bf32a2f8e5451f11fa9eedff.exe
  • Size 842KB
  • Sample210522-kk2vb42dxe
  • SHA256 4a4ba0934936df0b796b0c03690609b6596ccda0f434b59d5faea600157bc85f
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • raccoon

Botnet
  • 1d76a465540f6a904ac9f1310fe3a3824b5b4549

Attributes
  • url4cnc

    https://tttttt.me/kokajakprozak

rc4.plain
rc4.plain

Signatures

  • Deletes Windows Defender Definitions 2 TTPs 1 IoCs

    Uses mpcmdrun utility to delete all AV definitions.

  • Raccoon

    Simple but powerful infostealer which was very active in 2019.

  • Disables Task Manager via registry modification
  • Downloads MZ/PE file
  • Drops file in Drivers directory 1 IoCs
  • Executes dropped EXE 4 IoCs
  • Loads dropped DLL 20 IoCs
  • Modifies file permissions 1 TTPs 1 IoCs
  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Delays execution with timeout.exe 1 IoCs
  • Modifies system certificate store 2 TTPs 7 IoCs
  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe
    "C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:1200
    • C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe
      "C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe"
      2⤵
      • Adds Run key to start application
      • Modifies system certificate store
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:1404
      • C:\Windows\SysWOW64\icacls.exe
        icacls "C:\Users\Admin\AppData\Local\88aa5f09-50e9-49bd-8770-cd139d10ecff" /deny *S-1-1-0:(OI)(CI)(DE,DC)
        3⤵
        • Modifies file permissions
        PID:936
      • C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe
        "C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe" --Admin IsNotAutoStart IsNotTask
        3⤵
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1064
        • C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe
          "C:\Users\Admin\AppData\Local\Temp\229bc019bf32a2f8e5451f11fa9eedff.exe" --Admin IsNotAutoStart IsNotTask
          4⤵
          • Loads dropped DLL
          • Modifies system certificate store
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:924
          • C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin1.exe
            "C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin1.exe"
            5⤵
            • Executes dropped EXE
            • Loads dropped DLL
            • Suspicious use of WriteProcessMemory
            PID:1092
            • C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin1.exe
              "C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin1.exe" --Admin
              6⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:300
              • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                powershell -Command Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
                7⤵
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:1588
              • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                powershell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""C:\Users\Admin\AppData\Local\script.ps1""' -Verb RunAs}"
                7⤵
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                PID:1600
                • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
                  "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -File "C:\Users\Admin\AppData\Local\script.ps1
                  8⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:560
              • C:\Program Files\Windows Defender\mpcmdrun.exe
                "C:\Program Files\Windows Defender\mpcmdrun.exe" -removedefinitions -all
                7⤵
                • Deletes Windows Defender Definitions
                PID:1716
              • C:\Windows\SysWOW64\cmd.exe
                cmd /c ""C:\Users\Admin\AppData\Local\Temp\delself.bat""
                7⤵
                  PID:968
            • C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin2.exe
              "C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\updatewin2.exe"
              5⤵
              • Drops file in Drivers directory
              • Executes dropped EXE
              PID:2044
            • C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\5.exe
              "C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\5.exe"
              5⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Modifies system certificate store
              PID:1760
              • C:\Windows\SysWOW64\cmd.exe
                cmd.exe /C timeout /T 10 /NOBREAK > Nul & Del /f /q "C:\Users\Admin\AppData\Local\4f7c7602-2a79-4ffe-a3a8-b4a3a371d935\5.exe"
                6⤵
                  PID:620
                  • C:\Windows\SysWOW64\timeout.exe
                    timeout /T 10 /NOBREAK
                    7⤵
                    • Delays execution with timeout.exe
                    PID:1620

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            memory/300-98-0x0000000000400000-0x000000000044D000-memory.dmp

            memory/560-181-0x00000000064F0000-0x00000000064F1000-memory.dmp

            memory/560-154-0x0000000000610000-0x0000000000611000-memory.dmp

            memory/560-158-0x00000000027B0000-0x00000000027B1000-memory.dmp

            memory/560-159-0x0000000004B60000-0x0000000004B61000-memory.dmp

            memory/560-160-0x0000000004B62000-0x0000000004B63000-memory.dmp

            memory/560-164-0x0000000005950000-0x0000000005951000-memory.dmp

            memory/560-167-0x00000000059D0000-0x00000000059D1000-memory.dmp

            memory/560-161-0x0000000004B30000-0x0000000004B31000-memory.dmp

            memory/560-180-0x00000000064E0000-0x00000000064E1000-memory.dmp

            memory/924-78-0x0000000000400000-0x0000000000537000-memory.dmp

            memory/1092-97-0x0000000000400000-0x000000000044D000-memory.dmp

            memory/1200-63-0x0000000001E40000-0x0000000001F5B000-memory.dmp

            memory/1404-64-0x0000000000400000-0x0000000000537000-memory.dmp

            memory/1404-60-0x0000000000400000-0x0000000000537000-memory.dmp

            memory/1404-62-0x00000000768B1000-0x00000000768B3000-memory.dmp

            memory/1588-117-0x0000000005810000-0x0000000005811000-memory.dmp

            memory/1588-112-0x0000000005770000-0x0000000005771000-memory.dmp

            memory/1588-129-0x000000007EF30000-0x000000007EF31000-memory.dmp

            memory/1588-99-0x0000000000F50000-0x0000000000F51000-memory.dmp

            memory/1588-125-0x00000000063A0000-0x00000000063A1000-memory.dmp

            memory/1588-118-0x0000000006240000-0x0000000006241000-memory.dmp

            memory/1588-105-0x00000000027B0000-0x00000000027B1000-memory.dmp

            memory/1588-107-0x0000000004A32000-0x0000000004A33000-memory.dmp

            memory/1588-100-0x0000000004A70000-0x0000000004A71000-memory.dmp

            memory/1588-106-0x0000000004A30000-0x0000000004A31000-memory.dmp

            memory/1588-109-0x0000000005360000-0x0000000005361000-memory.dmp

            memory/1600-146-0x0000000005890000-0x0000000005891000-memory.dmp

            memory/1600-135-0x0000000004A02000-0x0000000004A03000-memory.dmp

            memory/1600-134-0x0000000004A00000-0x0000000004A01000-memory.dmp

            memory/1600-133-0x0000000005420000-0x0000000005421000-memory.dmp

            memory/1600-132-0x0000000002760000-0x0000000002761000-memory.dmp

            memory/1600-131-0x0000000004A40000-0x0000000004A41000-memory.dmp

            memory/1600-130-0x00000000010C0000-0x00000000010C1000-memory.dmp

            memory/2044-108-0x0000000000400000-0x000000000044D000-memory.dmp