Тёмный

Build a Malware Analysis Lab (Self-Hosted & Cloud) - The Malware Analysis Project 101 

Grant Collins
Подписаться 203 тыс.
Просмотров 25 тыс.
50% 1

⛔ Disclaimers: I take no responsibility or accountability for infection of malicious software, programs, files onto any computer or workstation. This project and videos are for educational purposes only. I do not condone the development, use of, or spreading of programs to intentionally harm assets, networks, or individuals.
Safety is key when dealing with malware. Ensure you always are following protocols when it comes to downloading and detonating a malicious sample. Follow all instructions within the courses and listed resources.
📝 Notes:
cybercademy.org/the-malware-a...
⏰ Timestamps:
0:00 - Introduction
0:51 - Crash Course Overview
1:52 - Self-hosted Topology
3:13 - Cloud-hosted Topology
4:12 - Items to Note
5:45 - Lab Showcase
6:10 - Download VirtualBox
7:02 - Download Windows 10 ISO
8:22 - Download Remnux
9:03 - Windows 10 VM Setup
16:06 - Disable Windows Defender
19:24 - Setup FlareVM
23:45 - Setup Remnux
25:15 - Setup Host-only Adapter
27:23 - Configure Remnux
33:45 - Setup & Test VM Connections
37:11 - Self-hosted Lab Finished
37:19 - Cloud Lab Overview
39:05 - Creating EC2 Instance
43:30 - Set VM Environment
45:55 - Disable Windows Defender
47:51 - Install FlareVM
53:10 - Export AMI
54:12 - Create IAM Role
57:35 - Download JQ, Terraform, AWSCLI
1:01:13 - Log Into IAM Account
1:02:14 - Change Terraform Files
1:05:49 - Deploy Cloud-hosted Lab
1:07:08 - Log Into Lab
1:07:44 - Configure INetSIM
1:09:02 - Cloud-lab Finished
1:11:06 - Conclusion
🔗 Links & Commands:
[Self-Hosted Lab]
Download VirtualBox: www.virtualbox.org/wiki/Downl...
Download Windows 10 ISO: info.microsoft.com/ww-landing...
Download Remnux: docs.remnux.org/install-distr...
Download Chrome: www.google.com/chrome/
[Download FlareVM]
Change directories to the Desktop
(New-Object net.webclient).DownloadFile('raw.githubusercontent.com/man...,"$([Environment]::GetFolderPath("Desktop"))\\install.ps1")
Unblock-File .\\install.ps1
Set-ExecutionPolicy Unrestricted
.\install.ps1
[Cloud-Hosted Lab]
AWS Malware Lab by Adan Alvarez: github.com/adanalvarez/AWS-ma...
AWS Sign-up: aws.amazon.com/resources/crea...
Install Terraform: developer.hashicorp.com/terra...
Ubuntu AMI ID (AWS Marketplace): us-east-1.console.aws.amazon....
[Install JQ]
sudo apt install jq
[Install Terraform]
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget O apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update
sudo apt-get install terraform
[Install AWS CLI]
sudo apt install awscli -y
[Clone AWS Malware Lab GitHub Repo]
git clone github.com/adanalvarez/AWS-ma...
[Create File]
nano shared.auto.tfvars.json
[Configuration File]
{
"environment": "malware-lab",
"ami": "ami-xxxxxxxxxxxxxxxxx",
"account" : "222222222222",
"region": "us-east-1",
"enable_guacamole": false,
"enable_inetsim": true
}
[Terraform Commands]
- terraform init: Initialize the environment.
- terraform plan: Plan the configuration.
- terraform apply: Apply the configuration file to AWS account.
- terraform destroy: Destroy the environment once analysis has been conducted.
🐕 Follow Me:
Twitter: / collinsinfosec
Instagram: / _collinsinfosec
Cybercademy Discord Server: / discord
🤔 Have questions, concerns, comments?:
Email me: grant@cybercademy.org
🎧 Gear:
Laptop (Lenovo X1 Carbon Ultrabook 6th Gen): amzn.to/2O0UfAM​​​​​
Monitors (Dell D Series 31.5” D3218HN): amzn.to/2EXlgRF​​​​​
Keyboard (Velocifire VM01): amzn.to/2TEswfd​​​​​
Headphones (Audio Technica ATH-M40x): amzn.to/2F4Tvq6​​​​​
Work Monitors (Dell U4919DW UltraSharp 49 Curved Monitor): amzn.to/3yQmDhM
Desk (FLEXISPOT EW8 Comhar Electric Standing Desk): amzn.to/3S9OxvG

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@xxnoobxx1900
@xxnoobxx1900 9 месяцев назад
I have no idea what any of this is but I think its really cool
@bobcoderz
@bobcoderz 9 месяцев назад
Great Work 👍
@sandamalgamage1242
@sandamalgamage1242 9 месяцев назад
Great vedio brother ❤❤
@GSAUS
@GSAUS 8 месяцев назад
This is a great setup. I ran a couple of malware analysis labs (on-prem and remote) for almost two decades and there was a lot of overlap with what you've done here. My setup of choice was using ESXi, virtualising a firewall, and then building the clients behind that. I love the flexibility of your cloud based setup though.
@collinsinfosec
@collinsinfosec 8 месяцев назад
Interesting choice! Did you have a dedicated server running ESXi? The cloud-based lab was fun to build.
@GSAUS
@GSAUS 8 месяцев назад
@@collinsinfosec We were using dedicated servers. My team was spread all over the globe, so we built one in each continent where we had people. 20 years ago latency on international routing was a bit more of an issue than it is now.
@amolwanave
@amolwanave 3 месяца назад
Great demo! I was able to follow along and set up the lab in cloud. Although I am curious if AWS allows malware analysis in their environment? Do we need explicit approval from AWS to do so?
@lancemarchetti8673
@lancemarchetti8673 9 месяцев назад
Cool Grant... thanks man
@guilherme5094
@guilherme5094 9 месяцев назад
👍👍Thanks man!
@zackerymcallister9057
@zackerymcallister9057 2 месяца назад
I followed all the steps and after the .\install.ps1 was executed in powershell the flare vm is not showing up on my screen it is my regular windows background. How would I know if it was downloaded correctly? Any help is appreciated.
@user-ic4bv5zk7r
@user-ic4bv5zk7r 10 дней назад
Im enjoying doing this project but im running into an issue with connecting REMnux and FlareVM. When I run ipconfig in powershell I get the ipv4 address 10.0.0.3 and when i run a ping test in power shell with ip 10.0.0.3 it comes back successful but when i run 10.0.0.4 in powershell it comes back with a request timed out and Lost=4. When i run "ping 10.0.0.4" or "ping 10.0.0.3" in REMnux it says "Network is unreachable". When I run ipconfig in REMnux the inet address is 127.0.0.1. I tried rewatching the video and starting from the beginning but I'm stumped on what to do. This is my first malware analysis so i want to make sure everything is correct before moving forward. Any suggestions?
@joshuaaddison7631
@joshuaaddison7631 7 месяцев назад
Hello, quick question why did you run JQ, Terraform, and AWSCLI from an ubuntu?
@collinsinfosec
@collinsinfosec 7 месяцев назад
I am using Windows Subsystem For Linux.
@martiantv4360
@martiantv4360 5 месяцев назад
I have a question your running your ubuntu in windows or in virtual box? I got confused for these part
@aminel2a
@aminel2a 9 месяцев назад
good job 👏, +1sub
@Trilipop
@Trilipop 2 месяца назад
How would one safely download/import malware samples into those lab setups? Whether its host-based or cloud-based. Thanks
@Matt-ir1ky
@Matt-ir1ky 2 месяца назад
The samples normally come as zipped files with a password like "malware" or "infected". This way they can't be accidently executed until you've put them on your malware analysis machine. You can just download them directly if you have internet access on your malware box too.
@anantP-ip8op
@anantP-ip8op 9 месяцев назад
Hi, are there enough jobs in malware analysis domain? What's the future of this domain as SOAR and automation comes in
@collinsinfosec
@collinsinfosec 9 месяцев назад
It depends on the where you are applying. Security vendors with threat intelligence and research teams will be needed. I wouldn't say there is a huge need for malware analysts compared to SOC analysts or security engineers. It's a great skill to learn regardless of your day job.
@hammazahmed1289
@hammazahmed1289 6 месяцев назад
Just a quick question, I will soon be starting this tutorial, can I give around 40 gigs of space instead of 75? My laptop sucks. :(
@collinsinfosec
@collinsinfosec 5 месяцев назад
40 Gigabytes should be enough for this project!
@hammazahmed1289
@hammazahmed1289 5 месяцев назад
@@collinsinfosec thank you.
@mahetsiedahi6530
@mahetsiedahi6530 4 месяца назад
Hello, does anyone know why the "install" file is not generated on the desktop? ...and thnks Grant for this gread work
@jeffreyb4193
@jeffreyb4193 3 месяца назад
I had the same issue. If you copied the link in the description it is incomplete when I pasted in the FlareVM powershell console. I just clicked on it in the description and copied the URL from the window that popped up and pasted it in the powershell window.
@lPlanetarizado
@lPlanetarizado 2 месяца назад
this looks alot easier that configuring cuckoo3; i know cuckoo3 its kind of different because its sutomatic analysis, but this looks better for me
@nickmullen9510
@nickmullen9510 6 месяцев назад
why did you skip over disabling updates or fully turning off defender in group policy?
@ayomikunlawal5099
@ayomikunlawal5099 3 месяца назад
I tried setting up the Flare Vm , following each step but it keeps saying please disbale windows defender through group policy after i have diabled all
@salmaalbarwani3638
@salmaalbarwani3638 15 дней назад
i have same problem idk what to do
@recon0x7f16
@recon0x7f16 3 месяца назад
I did all the network setup correctly can’t reach jost
@jivantsnow4356
@jivantsnow4356 2 месяца назад
could'nt insert addition guest cs image
@philradon5794
@philradon5794 5 месяцев назад
i went over it 2 more times i cannot ping the remnux mashine and vice versa, Any troubleshooting advice ?
@collinsinfosec
@collinsinfosec 5 месяцев назад
If you are on VirtualBox, make sure you are using Host-Only Adapter and using the same Ethernet Adapter under the Name section. Something similar to "VirtualBox Host-Only Ethernet Adapter #2".
@philradon5794
@philradon5794 5 месяцев назад
@@collinsinfosec hey thanks for the Quick reply, definitely followed your instructions to use of Host only and use the same adapert for both Boxes.... Happy new year !
@philradon5794
@philradon5794 5 месяцев назад
i got it, i had to set the remnux interface to the desired ip addr. and bring it up and now i can ping the mashines
@azt3ch
@azt3ch 3 месяца назад
hey what did you end up setting remnux IP addr to? @@philradon5794
@azt3ch
@azt3ch 3 месяца назад
@collinsinfosec
@ANTGPRO
@ANTGPRO 9 месяцев назад
👍
@shannonbabar1659
@shannonbabar1659 9 месяцев назад
This this possible in qemu/kvm
@koh8614
@koh8614 7 месяцев назад
I think so
@user-ek9be5es3b
@user-ek9be5es3b 8 месяцев назад
The remote server returned an error: (404) Not found when trying to install flareVM.
@AdolfSey
@AdolfSey 7 месяцев назад
Got the same issue. Did you find solution. If yes, please share with me . Thanks
@SpacemanPaco
@SpacemanPaco 4 месяца назад
you will also have to replace the install.ps1 script that gets pulled with the new one on the URL i provided
@Savoyyaboy
@Savoyyaboy 4 месяца назад
I keep getting the same message it’s an error
Далее
the reality vs. expectation in cybersecurity.
10:18
Просмотров 156 тыс.
Malware Analysis Bootcamp - File Type Identification
10:48
UZmir & Mira - Qani qani (Snippet)
00:26
Просмотров 293 тыс.
100❤️
00:20
Просмотров 6 млн
This is bad... REALLY bad...
19:02
Просмотров 179 тыс.
Best Docker Containers in 2024
12:43
Просмотров 77 тыс.
Malware beats Windows Defender: How you get hacked
7:26
How to tell if your PC is Hacked? Process Forensics
8:57