Dimanche 2 octobre 2011 7 02 /10 /Oct /2011 21:35
- Publié dans : Veille sécurité

Je milite depuis pas mal de temps déjà pour que les sites de banque (au moins) engagent des actions afin de vérifier la sécurité des postes de leurs clients qui s'y connectent.

En effet, il est peu utile de "blinder" un serveur Web si le poste client qui s'y connecte est compromis (porte dérobée, enregistreur de frappes au clavier, code viral détournant les fonctions réseau, etc).

J'ai donc été doublement intéressé par l'initiative de banques comme Boursorama qui proposent un utilitaire pour "durcir" le navigateur : Trusteer.

Mais peu après avoir installé l'engin, voici le premier rapport qu'il me sort :

rapport1_trusteer_021011.JPG

"activation.trusteer.com" aurait un certificat invalide...

Que dois-je faire ? désinstaller le produit ? 
La suite, bientôt... 

 

============== Executive summary ==============

 

After having installed Trusteer, its first report told me that activation.trusteer.com had an invalid certificate...

Quite surprising, isn't it?


Par Philippe V.
Ecrire un commentaire - Voir les 1 commentaires
Samedi 17 septembre 2011 6 17 /09 /Sep /2011 21:44
- Publié dans : Veille sécurité

Suivant régulièrement les évolutions des suites bureautiques "volatiles", leur système de mise à jour centralisé et realtivement réactif reste à mon avis une référence.

Cependant, ce soir, un message surprise est apparu pour la Liberkey :

 

alert_certif_liverbey.com_170911.jpg

 

Un certificat expiré en 2001 ? étrange.

L'avis d'Opéra sur le sujet est assez éloquent :

(1) Le nom du serveur "www.liberkey.com" ne correspond pas au nom du certificat "www.snakeoil.dom". Quelqu'un est peut être en train de vous espionner.

(2) Le certificat pour "www.snakeoil.dom" est signé par une autorité de certification inconnue "Snake Oil CA". Impossible de vérifier que ce certificat est valide

(3) Ce certificat pour "www.snakeoil.dom" a expiré 20/10/2001 19:21:00 GMT. Le webmaster devrait le mettre à jour 

Entre temps, est-ce que le système de mise à jour automatique de Liberkey a pu être détourné pour télécharger une charge virale ? tout est envisageable...


Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Samedi 17 septembre 2011 6 17 /09 /Sep /2011 00:23
- Publié dans : Veille virale
To those who believe russian web tends to be safer, please first read Kaspersky's threat report Q2 2011.

Then, have a look at the following.
 
Here is the mail I received (14th of September):
mail_gyuntere.ru_170911.jpg
The contact who sent this email is most likely to have a compromised computer.
 
The URL to be spread is:
It is not even hidden (like displaying a different URL between source code and HTML rendered).
 
As you can see, it is a Wordpress powered websit (the "wp-content" part within the URL).
 
But the funny thing is the message being displayed on this webpage:
 
You are here because one of your friends have invited you
to try our free trial.
Hurry up! Limited quantity available!
We try to be helpful for you.
Page loading, please wait....
 
 
Then there is an automatic redirection in the source code. The most simple way:
meta http-equiv="refresh" content="4; url=http://gyuntere.ru"
 
 
Now, what Netcraft says about this website?
netcraft_url_170911.jpg
Hosted in Romania, while the ccTLD is Russia (.ru).

And last, the "real" webpage, which content is likely to be related to "male enhancement"... hum.
 
site_170911.jpg
 
Netcraft's riskrating bar is red, but no warning while accessing the website.
And yes, Nginx is also being used to render "spam related" websites...

============================
Update 1:

More about the "bouncing" server:
It seems that the whole folder 
http:///www.margotta.info/wp-content/uploads/developer_tools/EnableCustomHeaderThemeOption/
has been compromised, since there are a lot of files with kindda random names, and most of them contain a message like:
"You are here because one of your friends have invited you."

bounce_srv_files_170911.jpg

But what I find the most interesting is that almost each of those files seems to contain a different redirection URL!

A few examples:
- http:///www.margotta.info/wp-content/uploads/developer_tools/EnableCustomHeaderThemeOption/1111.htm
- > http:///caretabgalaxy.com/

- http:///www.margotta.info/wp-content/uploads/developer_tools/EnableCustomHeaderThemeOption/domvkf.htm
-> http:///wikimedicare.com/

- http:///www.margotta.info/wp-content/uploads/developer_tools/EnableCustomHeaderThemeOption/dttnba.htm
- > http:///gyuntere.ru/

- http:///www.margotta.info/wp-content/uploads/developer_tools/EnableCustomHeaderThemeOption/mmarfd.htm
- >  http:///ommatorepillstablets.net/ 

And BTW, the same scenario seems to happen to another website:
http:///dev.studiolumierefilms.com/wp-content/plugins/extended-comment-options/        

Thus we have: 
- http:///dev.studiolumierefilms.com/wp-content/plugins/extended-comment-options/crsrtfh.htm  
- >  http:///carepillhealth.com/

- http:///dev.studiolumierefilms.com/wp-content/plugins/extended-comment-options/1111.htm
- > http:///caretabgalaxy.com/

- http:///dev.studiolumierefilms.com/wp-content/plugins/extended-comment-options/aaa.htm
- > http:///counterpunchdietmeds.com/

It looks like a real global spam campaign, taking advantage of compromised websites running Wordpress, to lure antispam/URL filters and spread over the Internet...
Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Mercredi 7 septembre 2011 3 07 /09 /Sep /2011 22:08
- Publié dans : Veille sécurité

As some people and I said earlier, a few Firefox extensions could be really useful regarding the Diginotar situation.

 

Here is what says Certificate Patrol after a few weeks of sleep (meaning not being used; until tonight):

 

Gmail_https_cert-patrol_070911.jpg

 

There is a clear warning about the fact that the renewal wasn't due yet...

 

But, even worse, as you can see, the Calomel extension turns now to orange! here is what it says:

 

gmail_calomel_070911.jpg

 

A weak symetric cypher, a weak hash, and a weak key length... well the certificate is said to be genuine this time, whereas it is most likely to be less secure that the former one?

Remember: the Calomel light used to be green about GMail...!

 

How could this be logical? I cannot assure the connection to GMail is more secure than during the DigiNotar operation!

 

 

Update 1 (8th of September):

 

Google API also running after a new certificate....

googleapis_cert-patrol_080911.jpg

 

Also encrypted.google.com, the one you use when you ask for "Google secured search engine":

encrypted-google_Cert-patrol_080911-copie-1.jpg

 

As you can see, Equifax provided the former certificate, but also the new one. This probably means Google doesn't want to take any risk, and changes every certificate; even if the Equifax' AC was not said to be compromised AFAIK.

BTW, keep in mind that the equifax.com domain was in the list of certificate-compromised websites.

See: https://isc.sans.edu/diary.html?storyid=11500&rss

 

And a last one: Google Analytics:

analytics_cert-patrol_080911.jpg

So Google apparently changes certificates even coming from its own AC... (Google Internet Authority).

 


 

==================================================

 

What about Facebook? well, just have a look at the warning below, still coming from Cert Patrol:

 

facebook_certificatge-patrol_080911.jpg

 

Bye VeriSign!

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Mardi 6 septembre 2011 2 06 /09 /Sep /2011 10:46
- Publié dans : Veille sécurité

I've already posted something regarding my favourites Firefox extensions when it's about security. Let's point out here what would be useful to mitigate those AC / HTTPS certificates issues (see: http://blog.trendmicro.com/diginotar-iranians-the-real-target/):

 

- Certificate Patrol

- Calomel SSL

- CERT viewer plus

- SSL BlackList

 

I can tell I saw a "certificate change" for Google, a few days ago! (with Certificate Patrol).

 

And after that, yes, you may still want to use HTTPS Everywhere :)

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 21 août 2011 7 21 /08 /Août /2011 01:10
- Publié dans : Veille sécurité

This article will aim to help a little bit the guys who try to understand/find tracks on a Tomtom GPS. The model being investigated is a Tomtom Rider 2, 2010.

 

First of all, extract the SD Card, and then plug it to a safe/secured computer.

 

At the root of the card, you'll find a file called settings.dat. You may open it using gVim. It contains the list of the cell phones that have been associated to the GPS (via Bluetooth connection).  

The syntax is quite simple, apart of a bit of garbage within the file: the phone name, and its MAC address (the separator is a simple comma).

 

Then the folder named "contacts" is quite interesting. It contains 3 files: called.txt, callers.txt, contacts.txt.

Those filenames are pretty relevant to the data the corresponding files contain. Furthermore, the data is in plain-text!

AFAIK, the "contacts.txt" file will only contain data if the cellphone contacts have been synchronized with the GPS (it does automatically offer synchronization the first time it's being associated via Bluetooth).

 

Then, depending on the principal map that has been used on the GPS, you'll find a folder named accordingly. For instance, here, the folder's name is "france".

Inside this folder, there are several files. One of them will probably be quite important to the analyst: MapSettings.cfg.

It contains the addresses that have been typed and triggered a roadmap calculation.

The file is in plain-text. It appears that the addresses are being chronologically printed.

 

Quite strange, at the end of the same file, there is the name and MAC address of the headset that has been used with the Tomtom (could be useful, who knows). Here it is: TomTom Headset (scala-rider),00:0A:9B:20:AE:99.

 

To those who may be interested, here is the whole list of files that are stored on the SD card:

liste fichiers GPS  SD card GPS files   

 

I hope this helps and will tell people how easy it is to find personal information about them... 

 

 

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 21 août 2011 7 21 /08 /Août /2011 00:00
- Publié dans : Bidouille informatique

I felt that Kaspersky antivirus was taking a lot or resources, generating lots of HDD requests.

 

So I tried to monitor what was going on, and used SysInternals Procmon. BTW, hi and congrats Mark :)

 

I set up a filter targeting avp.exe (one of the main exefiles of KAV).

 

After a few hours, the computer became very very slow. Pretty close to a DoS, with applications yelling they needed to be closed in order to prevent from data loss... So I had a look at the "computer panel":

 

disque_210811.jpg

 

 Apart of the data drive (D:), there appears to be a real problem with the disk space remaining on C:...

 

There should be 10 GB of free disk space... where did they go?  I was about to launch WinDirStat, and analyse the whole partition in depth. But, just double-clicking on the C: revealed something that drove my attention:

 

disk_C_pagefile_210811.jpg

 

 Wow... 12.580 GB of pagefile.sys! I understand the only 54MB remaining of the disk drive...

 

 And what does Procmon say?

 

procmon_avp_210811.exe.jpg

 

 See? at the bottom: 24 millions of events, "backed in page file"...

 

BTW, avp.exe did generate 1.2 millions of events itself! Around 1 out of 20, that's something. It proves once again Kaspersky AV takes oa lot of system resources. Yes, K Labs did find a trick to use less of CPU cycles (they use GPU... still system resources), but what about the disk? It can't be replaced by something else!

 

Back to business: Procmon gives up!

procmon_DoS_210811.jpg

 

In a nutshell, here is what I would say to sysadmins:

- be very careful while monitoring system issues with Procmon: you may just crash the system with a pagefile.sys taking all the disk space!

-  do not let less than 10GB of free disk space on the System partition...

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Vendredi 19 août 2011 5 19 /08 /Août /2011 22:05
- Publié dans : Veille virale

 

Cette fois-ci, j'ai préféré ne pas évaluer l'efficience de solutions de sécurité à l'instant T où la menace atteignait le poste, mais quelques temps après...

 

Voici le courriel, assez bien fait d'ailleurs :

email_maghegy.com_130811-copie-1.JPG

 

 Thunderbird 64 (Miramar) avait alerté sur un risque de "scam" pour ce courriel.

Mais que donnent les protections pour l'utilisateur, niveau navigateur, 6 jours donc après avoir reçu le courriel ?

 

- Internet Explorer 9 : OK, avertissement

- Opéra 11.50 : OK, avertissement

- Netcraft : OK, avertissement

 

- Firefox 5 : aucune alerte

- Safari 5 : aucune alerte

- Chrome 13 : aucune alerte

- WOT : aucune alerte

- Webutation : aucune alerte...

 

Pour Safari :

site_Safari_OK.jpg

 

Pour Chrome :

site_Chrome_OK.jpg

 

Et le plus intéressant, FIrefox 64 bits 4.0b12pre (avec WOT, Webutation, Netcraft...)

site_FF64_OK.jpg

 

 

Webutation, encore plus explicite ("tout va bien") :

site_webuptation_OK.JPG

 

 Heureusement, Netcraft réagit :

site_netcraft_alert.pg-copie-1.jpg

 

------------------------------------------------------------------

Et maintenant, si je tente de faire marcher la duperie jusqu'au bout ?

Remplissons le formulaire, adresse email et mot de passe, et validons...

Firebug indique clairement où part le mot de passe :

login_Firebug.jpg

 

La page qui suit l'envoi frauduleux des identifiants utilisateur, est assez intéressante !

site-page2_FF64_OK.jpg

 

Serait-ce lié à la campagne actuelle de fraude à la fausse facture ?

 

Au niveau réseau, le traffic est lui-aussi assez révélateur :

site-page2_firebug.jpg

   Diverses requêtes vers maghegy.com n'aboutissnet pas... pourtant le kit de hameçonnage semble marcher globalement.  

Il est notable que l'image avec tous les logso bancaires (certainement pour rassurer l'utilisateur, comme de "faux partenariats" : http://nsa25.casimages.com/img/2011/04/09//110409011725248635.jpg :

http://nsa25.casimages.com/img/2011/04/09//110409011725248635.jpg

Le serveur hébergeant cette image est chez OVH...

D'autres éléments (notamment images) sont récupérées ailleurs que chez Orange.fr... exemple pour le bonhomme orange :  http://img.woopic.com/common/g8/img/new_user_welcome.gif  

 

Jouons le jeu jusqu'au bout... je remplis donc le formulaire. Etrange, il m'est demandé à la fois mon numéro de carte ET mon numéro de compte !

On notera que le formulaire est tellement bien fait que je ne peux lui rentrer des numéros complètement fantaisistes :

site-page2_remplissage-detect.jpg

 

 En fait, c'est le vérificateur de Luhn qui est appliqué... (cf. http://www.thetaoofmakingmoney.com/2007/04/12/324.html)

Donc pour leurer le contrôle, je prends l'exemple 4552 7204 1234 5677.

Finalement, quand le formulaire est accepté, un clic sur "Valider" envoie une requête POST toujours vers le même domaine :

site-page2_POST.jpg

 Les données du formulaire sont bien visibles, et c'est la page "xeon.php" qui récupère le tout.

 

De manière assez classique, mais déjà éprouvée, cette requête POST est suivie d'une redirection vers le VRAI site  Orange (id.orange.fr). 

 

Et enfin, si l'on tente d'accéder à la racine de l'environnement de hameçonnage, la réponse HTML du serveur est étudiée pour renvoyer une vraie-fausse page Webmail Orange :

<html>
<script type="text/javascript">
echo = "logins2.html?-http/webmail1e.orange.fr/webmail/fr_FR/inbox.html?w=0&FromSubmit\
=true?rpsnv=11
&ct=1258553363&rver=6.0.5285.0&wp=MBI&wreply=http:%2F" self.location.replace(echo); window.location = echo; </script> </html>

 

------------------------------------------------------------------------------------------------------

Et à propos du serveur, me direz-vous ? 

Un vieux réflexe m'amène à tenter un nmap -O --osscan-guess. Le résultat est plutôt intriguant :

 

Starting Nmap 5.51 ( http://nmap.org ) at 2011-08-20 00:01 Paris, Madrid (heure dÆÚtÚ)
Nmap scan report for maghegy.com (46.252.201.1)
Host is up (0.040s latency).
rDNS record for 46.252.201.1: n1nlhg286c1286.shr.prod.ams1.secureserver.net
Not shown: 986 filtered ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
80/tcp open http
443/tcp open https
50000/tcp closed ibm-db2
50001/tcp closed unknown
50002/tcp closed iiimsf
50003/tcp closed unknown
50006/tcp closed unknown
50300/tcp closed unknown
50389/tcp closed unknown
50500/tcp closed unknown
50636/tcp closed unknown
50800/tcp closed unknown
Device type: general purpose|WAP|firewall|phone|printer
Running (JUST GUESSING): OpenBSD 4.X (95%), Linux 2.6.X|2.4.X (91%), Linksys Linux 2.4.X (91%), HID embedded (90%), Nokia Linux 2.6.X (89%), Netgear embedded (88%), Asus Linux 2.6.X (87%), Epson embedded (87%)
Aggressive OS guesses: OpenBSD 4.3 (95%), Linux 2.6.18-8.el5 (Red Hat Enterprise  Linux 5) (91%), Linux 2.6.20 (91%), Linux 2.6.20 (Ubuntu, x86_64) (91%), Linux 2.6.22 (91%), Linux 2.6.22 (Ubuntu, x86) (91%), OpenWrt White Russian 0.9 (Linux  2.4.30) (91%), OpenWrt 0.9 - 7.09 (Linux 2.4.30 - 2.4.34) (91%), OpenWrt Kamikaze 7.09 (Linux 2.6.22) (91%), HID EdgePlus Solo ES400 firewall (90%)
No exact OS matches for host (test conditions non-ideal).

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 17.80 seconds

 

BSD, linux, point d'accès WiFI ?... le tout hébergé sur un prod.ams1.secureserver.net ? késako... (WTH? ;) certains comprendront).

Et toujours lancé sur Nmap, la détection de services me fait hausser les sourcils : 

PORT STATE SERVICE VERSION
21/tcp open ftp Pure-FTPd
22/tcp open ssh OpenSSH 5.1 (protocol 2.0)
80/tcp open http Apache httpd
443/tcp open http Apache httpd

OpenSSH 5.1 ? même sur des machines dites sécurisées, je ne le croise presque jamais...!

 

Du coup, je vais tenter une identification par signature : HTTPrecon.

serveur_empreinte_HTTP.jpg

 Bingo, Apache 2.2.8 ! 

J'ai vu pire, mais c'est déjà une première porte d'entrée suceptible d'avoir compromis le serveur. Nessus tourne... 

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Dimanche 14 août 2011 7 14 /08 /Août /2011 19:45
- Publié dans : Veille sécurité

While surfing on Twitter you may find such a profile... that may look interesting for a few guys :)

Capture_profil_twitter_sex_140811_annon-copie-2.jpg

 

 As you can see, several posts dealing with men/women... and "being single"...

 

But what I find more interesting is the link, that is quite visible, just below the girl's name:

 http://oseu.info/?Orgy-Sex-Parties60

 

 This is in fact a redirection... pointing to: http://getiton.com/go/f49077.sub1281_&tpa=103758a9fb4001fb6a4add7cf4dd87

Capture_site_profil-twitter_140811.jpg

 Wow... even automatic translation to French! Verisign logo, to assure people it's safe to pay online, on this website...  

 

So, is the Twitter girl a real one, or a bot?... who knows. 

 

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires
Lundi 8 août 2011 1 08 /08 /Août /2011 00:06
- Publié dans : Veille virale

Je m'attendais à tout autre chose en lisant le sujet du courriel...
Subject: La photo de votre profil est belle
From: "Lacie Peterson" <news@affiliate-promoter.com>

 

Le corps du courriel est simple, sans faute, plutôt convaincant :

 courriel_profil-FB_060811.jpg

 

 

Une fois que l'on clique sur le lien, à priori pas de charge virale (presque décevant...) mais par contre, jolie surprise pour le site :

site_060811-copie-1.jpg

 

Effectivement, je dois bien avoir un profil qui traîne sur ce site (rires).

 

 

Pourquoi ai-je reçu ce courriel ? il semble que l'antispam se soit emmêlé les pinceaux :

1.0 LR_URI_NUMERIC_ENDING  URI: Ends in a number of at least 4 digits
1.5 HTML_IMAGE_ONLY_20     BODY: HTML: images with 1600-2000 bytes of words
0.1 HTML_MESSAGE           BODY: HTML included in message
-2.0 BAYES_00               BODY: Bayesian spam probability is 0 to 1% [score: 0.0000]
1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level above 50% [cf: 100]
0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)
1.0 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%

 

Aïe, il semble que ce soit le Bayésien qui ai tout fait capoter... il a carrément viré dans le "confiance", et donc a appliqué le score en conséquence.  Par contre, Razor montre qu'il est toujours pertinent, et inflige un score de 3 à lui tout seul...

 

 

Enfin, le reste des entêtes semble révélateur :

 

Return-Path: <agent@ukrs238777.pur3.net>

Received: from smtp.server.com ([unix socket]) by hermes.reseau (Cyrus-Debian) with LMTPA;

Sat, 06 Aug 2011 18:26:45 +0200 X-Sieve: CMU Sieve 2.2

Received: from mta17311.pur3.net ([83.138.173.11]) by smtp.server.com with esmtp (Exim 4.69)(envelope-from <agent@ukrs238777.pur3.net>) id 1Qpjhy-0005fS-Nb for philippe.vialle@server.com;

Sat, 06 Aug 2011 18:26:45 +0200

Received: from localhost (127.0.0.1) by mta17310.pur3.net (PowerMTA(TM) v3.5r16) id h7llk40s4tkn for <philippe.vialle@server.com>;

Sat, 6 Aug 2011 17:26:05 +0100 (envelope-from <agent@ukrs238777.pur3.net>)

Subject: La photo de votre profil est belle

MIME-Version: 1.0

Content-Type: multipart/alternative; boundary="alternative_40dbada43dc5a2b347364ec8c576e434"

Content-Transfer-Encoding: 7bit

From: "Lacie Peterson" <news@affiliate-promoter.com>

Reply-To: "Lacie Peterson" <news@affiliate-promoter.com>

X-MailId: {~P91270321946634197420386293013~}

To: philippe.vialle@server.com

Date: Sat, 06 Aug 2011 17:26:05 +0100

Message-ID: <0.0.D8.50D.1CC54558A43966A.0@mta17310.pur3.net>


Tout de même, l'adresse IP du MTA est dans au moins 5 listes noires (cf. http://ip-blacklist.e-dns.org/83.138.173.11) :

LISTED 18ms 510 Software Group Blackholes
LISTED 20ms SORBS Aggregate zone (problems)
LISTED 20ms SORBS Spamhost (any time)
LISTED 20ms SORBS Spamhost (last 28 days)
LISTED 21ms SORBS Spamhost (last year)

 

 

Par contre, selon CISCO, la réputation sécurité de ce même serveur est "bonne" ! http://www.senderbase.org/senderbase_queries/rep_lookup?search_name=83.138.173.11&action%3ASearch=Search

senderbase_IP_080811.jpg

 

De même chez McAfee : http://www.mcafee.com/threat-intelligence/ip/default.aspx?ip=83.138.173.11

 

mcAfee_IP_080811.jpg

Par Philippe V.
Ecrire un commentaire - Voir les 0 commentaires

Présentation

Recherche

Syndication

  • Flux RSS des articles

Créer un Blog

Créer un blog gratuit sur over-blog.com - Contact - C.G.U. - Rémunération en droits d'auteur - Signaler un abus - Articles les plus commentés