SlideShare une entreprise Scribd logo
1  sur  50
A New Threat
Speaker:
Ricardo L0gan
12 Conferencia Latino-americana de Software Livreª12 Conferencia Latino-americana de Software Livreª
MACH-O
12 Conferencia Latino-americana de Software Livreª
x
Mach-O – A New Threat
12 Conferencia Latino-americana de Software Livreª
Ricardo L0gan
Security Specialist with over 15 years of experience,
enthusiastic in malware research, pen-test and reverse
engineering. I’ve a solid knowledge on topics like network
security, hardening and tuning across multiple platforms
such as Windows, Linux, OS X and Cisco.
Beginner in programming languages as Python, C and
Assembly.
In Brazil I contribute to the Slackware community
(Slackshow and Slackzine) and I’m member of the Staff of
some events: H2HC, SlackShow and Bsides SP.
$Whoam
i
Mach-O – A New Threat
### Long live Open Source - Use Linux (Slackware)
###
12 Conferencia Latino-americana de Software Livreª
Agenda
0x00 Motivation of Research
0x01 OS X, The New Target
0x02 The Mach-O Format
0x03 Tools For Analysis (Static / Dynamic)
0x04 Current Threats
0x05 Conclusions
Mach-O – A New Threat
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x00 - Motivation of Research
Windows always gets infected!!!
Does Linux ever gets infected??
“Mac OS ever gets infected...”
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
Source: www.virustotal.com
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
7-day period in April 2014
Source: www.virustotal.com
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
7-day period in April 2015
Source: www.virustotal.com
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
Source: www.virustotal.com
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
Source: http://
thehackernews.com/2015/02/vulnerable-operating-system.html
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x01 – OS X, The New Target
Source: http://
thehackernews.com/2015/02/vulnerable-operating-system.html
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
Binary (Linux)
Binary (Windows)
Binary (OS X)
0x02 - The Mach-O Format
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
The mach-o format was adopted as the
standard in OS X from version 10.6 on
We are currently in version 10.11 (Yosemite El Capitan).
0x02 - The Mach-O Format
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x02 - The Mach-O Format
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x02 - The Mach-O Format
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x02 - The Mach-O Format
HEADER
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x02 - The Mach-O Format
LOAD COMMANDS
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x02 - The Mach-O Format
SECTIONS
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static / Dynamic)
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
mach-o
FILE
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
STRINGS
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
HEX EDITOR
HexEdit
wxHexEditor
0xED
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
LIPO
0xcafebabe
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
LIPO
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
OTOOL
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
NM
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
CODESIGN
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
MachOView
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
HOPPER
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Static)
CLASS-DUMP
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
XCODE
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
IDA PRO
also is a static tool
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
LLDB
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
FSEVENTER
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
OPEN SNOOP
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
ACTIVITY MONITOR
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
PROCXP
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
TCPDUMP
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
COCOA
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
WIRESHARK
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
LSOCK
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x03 – Tools For Analysis (Dynamic)
Little Snitch
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x04 – Current Threats
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x04 – Current Threats
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x04 – Current Threats
Mac.BackDoor.OpinionSpy.3
Names:
MacOS_X/OpinionSpy.A (Microsoft),
Mac.BackDoor.OpinionSpy.3 (F-Secure),
Mac.BackDoor.OpinionSpy.3 (Trend)
.OSA --> ZIP:
●
PremierOpinion
●
upgrade.xml
Source:
http://vms.drweb.com/virus/?i=4354056&lng=en
http://news.drweb.com/show/?i=9309&lng=en&c=5
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x04 – Current Threats
OSX_KAITEN.A
Names:
MacOS_X/Tsunami.A (Microsoft),
OSX/Tsunami (McAfee),
OSX/Tsunami-Gen (Sophos),
OSX/Tsunami.A (F-Secure),
OSX/Tsunami.A (ESET)
Binary:
/tmp/.z
Source:
http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_kaiten.a
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x04 – Current Threats
OSX_CARETO.A
Names:
MacOS:Appetite-A [Trj] (Avast)
OSX/BackDoor.A (AVG)
MAC.OSX.Backdoor.Careto.A (Bitdefender)
OSX/Appetite.A (Eset)
MAC.OSX.Backdoor.Careto.A (FSecure)
Trojan.OSX.Melgato.a (Kaspersky)
OSX/Backdoor-BRE (McAfee)
Backdoor:MacOS_X/Appetite.A (Microsoft)
OSX/Appetite-A (Sophos)
Source:
http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_careto.a
12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat
0x05 – Conclusions
Reference:
Sarah Edwards
REVERSE Engineering Mac Malware - Defcon 22
https://www.defcon.org/images/defcon-22/dc-22-presentations/Edwards/DEFCON-22-
Sarah-Edwards-Reverse-Engineering-Mac-Malware.pdf
https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachO
Runtime/index.html
http://www.agner.org/optimize/calling_conventions.pdf
Hacking is a way of life
Thanks a Lot
Any Questions ?
Contact:
ricardologanbr@gmail.com
@l0ganbr
12 Conferencia Latino-americana de Software Livreª
Mach-O – A New Threat
http://www.slideshare.net/l0ganbr

Contenu connexe

Similaire à Latinoware 2015 Mach-O

Andsec Reversing on Mach-o File
Andsec Reversing on Mach-o FileAndsec Reversing on Mach-o File
Andsec Reversing on Mach-o FileRicardo L0gan
 
LO-PHI: Low-Observable Physical Host Instrumentation for Malware Analysis
LO-PHI: Low-Observable Physical Host Instrumentation for Malware AnalysisLO-PHI: Low-Observable Physical Host Instrumentation for Malware Analysis
LO-PHI: Low-Observable Physical Host Instrumentation for Malware AnalysisPietro De Nicolao
 
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)William Liang
 
Revolution R: 100% R and more
Revolution R: 100% R and moreRevolution R: 100% R and more
Revolution R: 100% R and moreMasayoshi Ootsuka
 
20160713 2016 the honeynet projct annual workshop focus and global trends
20160713 2016 the honeynet projct annual workshop focus and global trends20160713 2016 the honeynet projct annual workshop focus and global trends
20160713 2016 the honeynet projct annual workshop focus and global trendsYi-Lang Tsai
 
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...Maksim Shudrak
 
Mmw mac malware-mac
Mmw mac malware-macMmw mac malware-mac
Mmw mac malware-macCyphort
 
Hardware-Assisted Malware Analysis
Hardware-Assisted Malware AnalysisHardware-Assisted Malware Analysis
Hardware-Assisted Malware AnalysisMarcus Botacin
 
OSDC 2010 | Linux-HA: Quo Vadis? by Michael Schwartzkopff
OSDC 2010 | Linux-HA: Quo Vadis? by Michael SchwartzkopffOSDC 2010 | Linux-HA: Quo Vadis? by Michael Schwartzkopff
OSDC 2010 | Linux-HA: Quo Vadis? by Michael SchwartzkopffNETWAYS
 
Análise de malware com suporte de hardware
Análise de malware com suporte de hardwareAnálise de malware com suporte de hardware
Análise de malware com suporte de hardwareMarcus Botacin
 
Top Ransomware decryption tools-PART-01.pdf
Top Ransomware decryption tools-PART-01.pdfTop Ransomware decryption tools-PART-01.pdf
Top Ransomware decryption tools-PART-01.pdfGaibandhar Chele Raton
 
When is free not free: The true costs of open source
When is free not free: The true costs of open sourceWhen is free not free: The true costs of open source
When is free not free: The true costs of open sourceRogue Wave Software
 
GNU/Linux, Server Web, dan Keamanan
GNU/Linux, Server Web, dan KeamananGNU/Linux, Server Web, dan Keamanan
GNU/Linux, Server Web, dan KeamananIwan stwn
 
Scilab Help Project Research Ideas
 Scilab Help Project Research Ideas Scilab Help Project Research Ideas
Scilab Help Project Research IdeasMatlab Simulation
 
Torrent downloaded from demonoid.com
Torrent downloaded from demonoid.comTorrent downloaded from demonoid.com
Torrent downloaded from demonoid.commark_james_buyao
 
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...EuroIoTa
 
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFV
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFVSummit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFV
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFVOPNFV
 

Similaire à Latinoware 2015 Mach-O (20)

H2HC - R3MF
H2HC - R3MFH2HC - R3MF
H2HC - R3MF
 
Andsec Reversing on Mach-o File
Andsec Reversing on Mach-o FileAndsec Reversing on Mach-o File
Andsec Reversing on Mach-o File
 
Nullbyte 6ed. 2019
Nullbyte 6ed. 2019Nullbyte 6ed. 2019
Nullbyte 6ed. 2019
 
LO-PHI: Low-Observable Physical Host Instrumentation for Malware Analysis
LO-PHI: Low-Observable Physical Host Instrumentation for Malware AnalysisLO-PHI: Low-Observable Physical Host Instrumentation for Malware Analysis
LO-PHI: Low-Observable Physical Host Instrumentation for Malware Analysis
 
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
An introduction to the linux kernel and device drivers (NTU CSIE 2016.03)
 
Revolution R: 100% R and more
Revolution R: 100% R and moreRevolution R: 100% R and more
Revolution R: 100% R and more
 
20160713 2016 the honeynet projct annual workshop focus and global trends
20160713 2016 the honeynet projct annual workshop focus and global trends20160713 2016 the honeynet projct annual workshop focus and global trends
20160713 2016 the honeynet projct annual workshop focus and global trends
 
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...
Tricky sample? Hack it easy! Applying dynamic binary inastrumentation to ligh...
 
Mmw mac malware-mac
Mmw mac malware-macMmw mac malware-mac
Mmw mac malware-mac
 
Hardware-Assisted Malware Analysis
Hardware-Assisted Malware AnalysisHardware-Assisted Malware Analysis
Hardware-Assisted Malware Analysis
 
Presentation
PresentationPresentation
Presentation
 
OSDC 2010 | Linux-HA: Quo Vadis? by Michael Schwartzkopff
OSDC 2010 | Linux-HA: Quo Vadis? by Michael SchwartzkopffOSDC 2010 | Linux-HA: Quo Vadis? by Michael Schwartzkopff
OSDC 2010 | Linux-HA: Quo Vadis? by Michael Schwartzkopff
 
Análise de malware com suporte de hardware
Análise de malware com suporte de hardwareAnálise de malware com suporte de hardware
Análise de malware com suporte de hardware
 
Top Ransomware decryption tools-PART-01.pdf
Top Ransomware decryption tools-PART-01.pdfTop Ransomware decryption tools-PART-01.pdf
Top Ransomware decryption tools-PART-01.pdf
 
When is free not free: The true costs of open source
When is free not free: The true costs of open sourceWhen is free not free: The true costs of open source
When is free not free: The true costs of open source
 
GNU/Linux, Server Web, dan Keamanan
GNU/Linux, Server Web, dan KeamananGNU/Linux, Server Web, dan Keamanan
GNU/Linux, Server Web, dan Keamanan
 
Scilab Help Project Research Ideas
 Scilab Help Project Research Ideas Scilab Help Project Research Ideas
Scilab Help Project Research Ideas
 
Torrent downloaded from demonoid.com
Torrent downloaded from demonoid.comTorrent downloaded from demonoid.com
Torrent downloaded from demonoid.com
 
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...
OpenML.org: Networked Science and IoT Data Streams by Jan van Rijn, Universit...
 
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFV
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFVSummit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFV
Summit 16: Open-O Mini-Summit - Open Source, Orchestration, and OPNFV
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Dernier (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Latinoware 2015 Mach-O

  • 1. A New Threat Speaker: Ricardo L0gan 12 Conferencia Latino-americana de Software Livreª12 Conferencia Latino-americana de Software Livreª MACH-O
  • 2. 12 Conferencia Latino-americana de Software Livreª x Mach-O – A New Threat
  • 3. 12 Conferencia Latino-americana de Software Livreª Ricardo L0gan Security Specialist with over 15 years of experience, enthusiastic in malware research, pen-test and reverse engineering. I’ve a solid knowledge on topics like network security, hardening and tuning across multiple platforms such as Windows, Linux, OS X and Cisco. Beginner in programming languages as Python, C and Assembly. In Brazil I contribute to the Slackware community (Slackshow and Slackzine) and I’m member of the Staff of some events: H2HC, SlackShow and Bsides SP. $Whoam i Mach-O – A New Threat ### Long live Open Source - Use Linux (Slackware) ###
  • 4. 12 Conferencia Latino-americana de Software Livreª Agenda 0x00 Motivation of Research 0x01 OS X, The New Target 0x02 The Mach-O Format 0x03 Tools For Analysis (Static / Dynamic) 0x04 Current Threats 0x05 Conclusions Mach-O – A New Threat
  • 5. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x00 - Motivation of Research Windows always gets infected!!! Does Linux ever gets infected?? “Mac OS ever gets infected...”
  • 6. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target Source: www.virustotal.com
  • 7. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target 7-day period in April 2014 Source: www.virustotal.com
  • 8. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target 7-day period in April 2015 Source: www.virustotal.com
  • 9. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target Source: www.virustotal.com
  • 10. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target Source: http:// thehackernews.com/2015/02/vulnerable-operating-system.html
  • 11. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x01 – OS X, The New Target Source: http:// thehackernews.com/2015/02/vulnerable-operating-system.html
  • 12. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat Binary (Linux) Binary (Windows) Binary (OS X) 0x02 - The Mach-O Format
  • 13. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat The mach-o format was adopted as the standard in OS X from version 10.6 on We are currently in version 10.11 (Yosemite El Capitan). 0x02 - The Mach-O Format
  • 14. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x02 - The Mach-O Format
  • 15. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x02 - The Mach-O Format
  • 16. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x02 - The Mach-O Format HEADER
  • 17. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x02 - The Mach-O Format LOAD COMMANDS
  • 18. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x02 - The Mach-O Format SECTIONS
  • 19. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static / Dynamic)
  • 20. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) mach-o FILE
  • 21. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) STRINGS
  • 22. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) HEX EDITOR HexEdit wxHexEditor 0xED
  • 23. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) LIPO 0xcafebabe
  • 24. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) LIPO
  • 25. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) OTOOL
  • 26. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) NM
  • 27. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) CODESIGN
  • 28. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) MachOView
  • 29. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) HOPPER
  • 30. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Static) CLASS-DUMP
  • 31. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic)
  • 32. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) XCODE
  • 33. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) IDA PRO also is a static tool
  • 34. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) LLDB
  • 35. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) FSEVENTER
  • 36. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) OPEN SNOOP
  • 37. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) ACTIVITY MONITOR
  • 38. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) PROCXP
  • 39. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) TCPDUMP
  • 40. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) COCOA
  • 41. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) WIRESHARK
  • 42. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) LSOCK
  • 43. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x03 – Tools For Analysis (Dynamic) Little Snitch
  • 44. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x04 – Current Threats
  • 45. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x04 – Current Threats
  • 46. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x04 – Current Threats Mac.BackDoor.OpinionSpy.3 Names: MacOS_X/OpinionSpy.A (Microsoft), Mac.BackDoor.OpinionSpy.3 (F-Secure), Mac.BackDoor.OpinionSpy.3 (Trend) .OSA --> ZIP: ● PremierOpinion ● upgrade.xml Source: http://vms.drweb.com/virus/?i=4354056&lng=en http://news.drweb.com/show/?i=9309&lng=en&c=5
  • 47. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x04 – Current Threats OSX_KAITEN.A Names: MacOS_X/Tsunami.A (Microsoft), OSX/Tsunami (McAfee), OSX/Tsunami-Gen (Sophos), OSX/Tsunami.A (F-Secure), OSX/Tsunami.A (ESET) Binary: /tmp/.z Source: http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_kaiten.a
  • 48. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x04 – Current Threats OSX_CARETO.A Names: MacOS:Appetite-A [Trj] (Avast) OSX/BackDoor.A (AVG) MAC.OSX.Backdoor.Careto.A (Bitdefender) OSX/Appetite.A (Eset) MAC.OSX.Backdoor.Careto.A (FSecure) Trojan.OSX.Melgato.a (Kaspersky) OSX/Backdoor-BRE (McAfee) Backdoor:MacOS_X/Appetite.A (Microsoft) OSX/Appetite-A (Sophos) Source: http://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/osx_careto.a
  • 49. 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat 0x05 – Conclusions Reference: Sarah Edwards REVERSE Engineering Mac Malware - Defcon 22 https://www.defcon.org/images/defcon-22/dc-22-presentations/Edwards/DEFCON-22- Sarah-Edwards-Reverse-Engineering-Mac-Malware.pdf https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/MachO Runtime/index.html http://www.agner.org/optimize/calling_conventions.pdf Hacking is a way of life
  • 50. Thanks a Lot Any Questions ? Contact: ricardologanbr@gmail.com @l0ganbr 12 Conferencia Latino-americana de Software Livreª Mach-O – A New Threat http://www.slideshare.net/l0ganbr