Deserialization, what could go wrong?
[Pages:84]Deserialization, what could go wrong?
Deserialization, what could go wrong?
$(whoami)
Brendan Jamieson (@hyprwired)
Wellington based consultant for Insomnia Security
Infosec Linux Python CTF (@hamiltr0n_ctf)
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
Talk Overview
What is (de)serialization? Why would you use it?
Covering a range of languages Python PHP Java Ruby
Across languages: How are deserialization vulnerabilities introduced? How are they exploited? How do you avoid them?
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
Serialization 101
(De)serialization allows for object portability
Object -> Serialize -> Byte stream Byte stream -> Unserialize -> Object
PHP Example
serialize() an object to a string write string to a file unserialize() the file's contents back into an object
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
Many names, same concept
Python
pickling/unpickling
Java & PHP
serializing/deserializing
Ruby
marshalling/unmarshalling
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
What could possibly go wrong?
Say you're expecting a string containing information about a user...
... such as a session object
How can you tell if it's properties have been changed? How can you tell if it's even a session object? What if it isn't?
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
It's a feature, not a bug!
By design, deserialization across different languages will attempt to turn whatever byte stream is provided back into an object
Depending on the object, this can result in a number of things...
Privilege escalation through object properties Arbitrary code execution
Exploitability varies across languages & applications
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
PYTHON
OWASP New Zealand Day 2016
Deserialization, what could go wrong?
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- python cryptography security
- cybersecurity zero to hero with cyberchef
- base64 to pdf encode
- python library reference mit
- the python library reference university of idaho
- base64 to pdf python
- decode base64 string to pdf file
- deserialization what could go wrong
- challenge 5 solution fireeye
- office drama on macos black hat briefings
Related searches
- what is wrong with annuities
- what s wrong with an annuity
- what s wrong with pete davidson
- what to go to college for quiz
- what is wrong with my cat
- what is wrong with pete davidson
- what s wrong with my car
- what s wrong with education today
- what is wrong with american education
- what s wrong with the internet today
- what s wrong with public education
- what s wrong with america today