Analysis

  • max time kernel
    145s
  • max time network
    155s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240221-en
  • resource tags

    arch:x64arch:x86image:win11-20240221-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    30-03-2024 17:22

General

  • Target

    5d66f0247a813bb926001a528ae102313b7f46c5466fb47ca0132bb765c984eb.exe

  • Size

    1.9MB

  • MD5

    5090c8afa3b39bbf148a214c2d40d9b0

  • SHA1

    9c82891eeb5741454f1cff3ea830cea693812171

  • SHA256

    5d66f0247a813bb926001a528ae102313b7f46c5466fb47ca0132bb765c984eb

  • SHA512

    c624aa763fc3da580190453d353f947bab7998d58a813b0614b724e0ed518299711e2f0a7e6ac6a44c1a27f41a81ba4bb88ccebd996bbf0f8b3c635e5ab2e1f4

  • SSDEEP

    24576:rnh5xnVcuXRnXHK+QTJVgLyHbkFrgmvSsWtWjxMawF6GJwFCBV1ufMFOfJyMKRLW:rBOusVeyHmzvSWELBruYO5MLC9

Malware Config

Extracted

Family

amadey

Version

4.18

C2

http://193.233.132.56

Attributes
  • install_dir

    09fd851a4f

  • install_file

    explorha.exe

  • strings_key

    443351145ece4966ded809641c77cfa8

  • url_paths

    /Pneh2sXQk0/index.php

rc4.plain

Signatures

  • Amadey

    Amadey bot is a simple trojan bot primarily used for collecting reconnaissance information.

  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 5 IoCs
  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Checks BIOS information in registry 2 TTPs 10 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Executes dropped EXE 4 IoCs
  • Identifies Wine through registry keys 2 TTPs 5 IoCs

    Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.

  • Loads dropped DLL 3 IoCs
  • Reads WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • Reads local data of messenger clients 2 TTPs

    Infostealers often target stored data of messaging applications, which can include saved credentials and account information.

  • Reads user/profile data of web browsers 2 TTPs

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

  • Suspicious use of NtSetInformationThreadHideFromDebugger 5 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 22 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5d66f0247a813bb926001a528ae102313b7f46c5466fb47ca0132bb765c984eb.exe
    "C:\Users\Admin\AppData\Local\Temp\5d66f0247a813bb926001a528ae102313b7f46c5466fb47ca0132bb765c984eb.exe"
    1⤵
    • Identifies VirtualBox via ACPI registry values (likely anti-VM)
    • Checks BIOS information in registry
    • Identifies Wine through registry keys
    • Suspicious use of NtSetInformationThreadHideFromDebugger
    • Drops file in Windows directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      "C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe"
      2⤵
      • Identifies VirtualBox via ACPI registry values (likely anti-VM)
      • Checks BIOS information in registry
      • Executes dropped EXE
      • Identifies Wine through registry keys
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of WriteProcessMemory
      PID:1528
      • C:\Windows\SysWOW64\rundll32.exe
        "C:\Windows\System32\rundll32.exe" C:\Users\Admin\AppData\Roaming\a091ec0a6e2227\cred64.dll, Main
        3⤵
        • Loads dropped DLL
        • Suspicious use of WriteProcessMemory
        PID:3708
        • C:\Windows\system32\rundll32.exe
          "C:\Windows\System32\rundll32.exe" C:\Users\Admin\AppData\Roaming\a091ec0a6e2227\cred64.dll, Main
          4⤵
          • Blocklisted process makes network request
          • Loads dropped DLL
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:4972
          • C:\Windows\system32\netsh.exe
            netsh wlan show profiles
            5⤵
              PID:3932
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              powershell -Command Compress-Archive -Path 'C:\Users\Admin\AppData\Local\Temp\_Files_\' -DestinationPath 'C:\Users\Admin\AppData\Local\Temp\472529282816_Desktop.zip' -CompressionLevel Optimal
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:328
        • C:\Windows\SysWOW64\rundll32.exe
          "C:\Windows\System32\rundll32.exe" C:\Users\Admin\AppData\Roaming\a091ec0a6e2227\clip64.dll, Main
          3⤵
          • Blocklisted process makes network request
          • Loads dropped DLL
          PID:2264
    • C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      1⤵
      • Identifies VirtualBox via ACPI registry values (likely anti-VM)
      • Checks BIOS information in registry
      • Executes dropped EXE
      • Identifies Wine through registry keys
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • Suspicious behavior: EnumeratesProcesses
      PID:1484
    • C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      1⤵
      • Identifies VirtualBox via ACPI registry values (likely anti-VM)
      • Checks BIOS information in registry
      • Executes dropped EXE
      • Identifies Wine through registry keys
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • Suspicious behavior: EnumeratesProcesses
      PID:2076
    • C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      1⤵
      • Identifies VirtualBox via ACPI registry values (likely anti-VM)
      • Checks BIOS information in registry
      • Executes dropped EXE
      • Identifies Wine through registry keys
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • Suspicious behavior: EnumeratesProcesses
      PID:2104

    Network

    MITRE ATT&CK Matrix ATT&CK v13

    Defense Evasion

    Virtualization/Sandbox Evasion

    2
    T1497

    Credential Access

    Unsecured Credentials

    3
    T1552

    Credentials In Files

    2
    T1552.001

    Credentials in Registry

    1
    T1552.002

    Discovery

    Query Registry

    3
    T1012

    Virtualization/Sandbox Evasion

    2
    T1497

    System Information Discovery

    2
    T1082

    Collection

    Data from Local System

    3
    T1005

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\09fd851a4f\explorha.exe
      Filesize

      1.9MB

      MD5

      5090c8afa3b39bbf148a214c2d40d9b0

      SHA1

      9c82891eeb5741454f1cff3ea830cea693812171

      SHA256

      5d66f0247a813bb926001a528ae102313b7f46c5466fb47ca0132bb765c984eb

      SHA512

      c624aa763fc3da580190453d353f947bab7998d58a813b0614b724e0ed518299711e2f0a7e6ac6a44c1a27f41a81ba4bb88ccebd996bbf0f8b3c635e5ab2e1f4

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_avonm2w1.mqb.ps1
      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Roaming\a091ec0a6e2227\clip64.dll
      Filesize

      109KB

      MD5

      726cd06231883a159ec1ce28dd538699

      SHA1

      404897e6a133d255ad5a9c26ac6414d7134285a2

      SHA256

      12fef2d5995d671ec0e91bdbdc91e2b0d3c90ed3a8b2b13ddaa8ad64727dcd46

      SHA512

      9ea82e7cb6c6a58446bd5033855947c3e2d475d2910f2b941235e0b96aa08eec822d2dd17cc86b2d3fce930f78b799291992408e309a6c63e3011266810ea83e

    • C:\Users\Admin\AppData\Roaming\a091ec0a6e2227\cred64.dll
      Filesize

      1.2MB

      MD5

      15a42d3e4579da615a384c717ab2109b

      SHA1

      22aeedeb2307b1370cdab70d6a6b6d2c13ad2301

      SHA256

      3c97bb410e49b11af8116feb7240b7101e1967cae7538418c45c3d2e072e8103

      SHA512

      1eb7f126dccc88a2479e3818c36120f5af3caa0d632b9ea803485ee6531d6e2a1fd0805b1c4364983d280df23ea5ca3ad4a5fca558ac436efae36af9b795c444

    • memory/328-69-0x0000021757430000-0x0000021757440000-memory.dmp
      Filesize

      64KB

    • memory/328-77-0x00007FFB6AC50000-0x00007FFB6B712000-memory.dmp
      Filesize

      10.8MB

    • memory/328-68-0x0000021757430000-0x0000021757440000-memory.dmp
      Filesize

      64KB

    • memory/328-67-0x0000021757430000-0x0000021757440000-memory.dmp
      Filesize

      64KB

    • memory/328-66-0x00007FFB6AC50000-0x00007FFB6B712000-memory.dmp
      Filesize

      10.8MB

    • memory/328-65-0x000002176F5E0000-0x000002176F602000-memory.dmp
      Filesize

      136KB

    • memory/328-70-0x000002176FAE0000-0x000002176FAF2000-memory.dmp
      Filesize

      72KB

    • memory/328-71-0x000002176F650000-0x000002176F65A000-memory.dmp
      Filesize

      40KB

    • memory/1484-44-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1484-35-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1484-43-0x0000000004CF0000-0x0000000004CF1000-memory.dmp
      Filesize

      4KB

    • memory/1484-41-0x0000000004D40000-0x0000000004D41000-memory.dmp
      Filesize

      4KB

    • memory/1484-40-0x0000000004D00000-0x0000000004D01000-memory.dmp
      Filesize

      4KB

    • memory/1484-42-0x0000000004CE0000-0x0000000004CE1000-memory.dmp
      Filesize

      4KB

    • memory/1484-39-0x0000000004D20000-0x0000000004D21000-memory.dmp
      Filesize

      4KB

    • memory/1484-37-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1484-38-0x0000000004D10000-0x0000000004D11000-memory.dmp
      Filesize

      4KB

    • memory/1528-29-0x0000000004EB0000-0x0000000004EB1000-memory.dmp
      Filesize

      4KB

    • memory/1528-105-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-34-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-31-0x0000000004F30000-0x0000000004F31000-memory.dmp
      Filesize

      4KB

    • memory/1528-36-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-30-0x0000000004EC0000-0x0000000004EC1000-memory.dmp
      Filesize

      4KB

    • memory/1528-120-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-28-0x0000000004F10000-0x0000000004F11000-memory.dmp
      Filesize

      4KB

    • memory/1528-27-0x0000000004ED0000-0x0000000004ED1000-memory.dmp
      Filesize

      4KB

    • memory/1528-26-0x0000000004EF0000-0x0000000004EF1000-memory.dmp
      Filesize

      4KB

    • memory/1528-25-0x0000000004EE0000-0x0000000004EE1000-memory.dmp
      Filesize

      4KB

    • memory/1528-24-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-23-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-110-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-56-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-108-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-107-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-106-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-32-0x0000000004F40000-0x0000000004F41000-memory.dmp
      Filesize

      4KB

    • memory/1528-104-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-94-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-92-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-91-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-90-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-78-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/1528-89-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2076-99-0x0000000004E00000-0x0000000004E01000-memory.dmp
      Filesize

      4KB

    • memory/2076-103-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2076-102-0x0000000004DF0000-0x0000000004DF1000-memory.dmp
      Filesize

      4KB

    • memory/2076-101-0x0000000004DE0000-0x0000000004DE1000-memory.dmp
      Filesize

      4KB

    • memory/2076-100-0x0000000004E40000-0x0000000004E41000-memory.dmp
      Filesize

      4KB

    • memory/2076-95-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2076-96-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2076-97-0x0000000004E10000-0x0000000004E11000-memory.dmp
      Filesize

      4KB

    • memory/2076-98-0x0000000004E20000-0x0000000004E21000-memory.dmp
      Filesize

      4KB

    • memory/2104-112-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2104-116-0x0000000004E40000-0x0000000004E41000-memory.dmp
      Filesize

      4KB

    • memory/2104-119-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2104-117-0x0000000004DE0000-0x0000000004DE1000-memory.dmp
      Filesize

      4KB

    • memory/2104-118-0x0000000004DF0000-0x0000000004DF1000-memory.dmp
      Filesize

      4KB

    • memory/2104-114-0x0000000004E20000-0x0000000004E21000-memory.dmp
      Filesize

      4KB

    • memory/2104-115-0x0000000004E00000-0x0000000004E01000-memory.dmp
      Filesize

      4KB

    • memory/2104-113-0x0000000004E10000-0x0000000004E11000-memory.dmp
      Filesize

      4KB

    • memory/2104-111-0x0000000000360000-0x0000000000835000-memory.dmp
      Filesize

      4.8MB

    • memory/2388-10-0x0000000004FE0000-0x0000000004FE1000-memory.dmp
      Filesize

      4KB

    • memory/2388-22-0x00000000003A0000-0x0000000000875000-memory.dmp
      Filesize

      4.8MB

    • memory/2388-9-0x0000000004FF0000-0x0000000004FF1000-memory.dmp
      Filesize

      4KB

    • memory/2388-1-0x00000000778E6000-0x00000000778E8000-memory.dmp
      Filesize

      8KB

    • memory/2388-4-0x0000000004FA0000-0x0000000004FA1000-memory.dmp
      Filesize

      4KB

    • memory/2388-5-0x0000000004F80000-0x0000000004F81000-memory.dmp
      Filesize

      4KB

    • memory/2388-6-0x0000000004FC0000-0x0000000004FC1000-memory.dmp
      Filesize

      4KB

    • memory/2388-7-0x0000000004F60000-0x0000000004F61000-memory.dmp
      Filesize

      4KB

    • memory/2388-2-0x00000000003A0000-0x0000000000875000-memory.dmp
      Filesize

      4.8MB

    • memory/2388-3-0x0000000004F90000-0x0000000004F91000-memory.dmp
      Filesize

      4KB

    • memory/2388-8-0x0000000004F70000-0x0000000004F71000-memory.dmp
      Filesize

      4KB

    • memory/2388-0-0x00000000003A0000-0x0000000000875000-memory.dmp
      Filesize

      4.8MB