SlideShare a Scribd company logo
How to Hack
a Telecommunication Company
        And Stay Alive


                  Sergey Gordeychik
                Positive Technologies
                                 CTO
Ic Beo


         Sergey Gordeychik, Positive Technologies, CTO

         A “script writer” and a “director” of the Positive
         Hack Days forum

         Science editor of the SecurityLab.Ru portal

         Author of the Web Application Security course,
         and a book titled A Wireless Network Security and
         a namesake course

         A participant of WASC, RISSPA

         http://sgordey.blogspot.com
What Is It All About?


       What is so peculiar about telecoms?

       Attacks against subscribers/Attacks by
       subscribers

       Perimeter… Just a perimeter

       Partners and contractors

       Technology networks
What’s So
Peculiar?
Specific Features of Telecommunication Companies


      Large, large networks

      Unification of various services (broadband access,
      Wi-Fi, hosting, mobile communication)

      Great number of applications and systems on the
      perimeter

      Exotics inside and outside

      Lots of perimeters

      Most networks belong to third parties

      Forensics nightmare
How many perimeters
 do telecoms have?
        Internet

       Subscribers

       Partners
        Office


      Technology
       network
…and a bit more…


     Mobile
           communications        Broadband     Technological
                                   access         network

     Wired broadband access

     Wireless broadband access

     VOIP

     Hosting                     Internet TV     Hosting


     ...
…and a bit more…




                   Vladivostok    Moscow




                     Roma        Phnom Penh
Attack AGAINST
  Subscribers
Why Subscribers?



    Subscribers’ $ = telecoms’ $

    DOS = - $$ - reputation - $$

    PWN (100 000 PC) = Botnet

    Personal data!
Broadband Access

   Huge non-segmented networks

   Great number of end devices:
    • Various SOHO devices
    • Installed and unattended
    • Standard bugs configurations

   A manual on insecurity of network appliances
       SNMP/Telnet/HTTP/UPnP control protocols in the Internet
       Insecure/empty passwords
       Web attacks on Client’s side (Pinning, CSRF)


   Huge number of users
    • 1 out of1000, for 10 000 000 = 10 000
    • Trivial passwords
Broadband Access. Attack


   Collecting information
    • Network scanning
    • Access layer error (BRAS)
    • Collecting information from internal forums and
      other resources
    • Self-service platform errors
                         Invalid login or password
                                     vs
                            Invalid username


   Preparing scenarios
    • Capturing devices
    • Guessing passwords

   $profit$
Well…yes, it happens
Pick a Task…
Examples of Risks

    Gaining access to a self-service portal
     • Cashout
         guessing password or stealing the router cfg files
          (vpn/pppoe)
         transferring money from a broadband access to a cell phone
          (integration!)
         Cashing out via PRS
     • It drives me NUTS!!!
         Guessing password or stealing the router cfg files (vpn/ppoe)
         Purchasing the available
         Balance =0


    Performing a mass hacking of a router/PC

    Performing a mass changing of
    configurations
Attacks against Clients of Mobile Networks


    Faking Caller ID
     •self-service portal/USSD
     •voice mailbox
     •cash-out via PRS
     •direct money withdrawal




                 Internet               SS7                Taget
                                                           GSM
                            SIP-GW                                  Tech
       FAKE ID                                                     Systems
                                     unauthorized access
Attacks against Clients of Mobile Networks

    Malware for mobile devices;
    Intercepting GSM –
                   Not a ROCKET SCIENCE!
     • attacking A5/1
     • MITM, switch to A5/0
     • downgrading UMTS -> GSM

    Traffic, SMS, one-time passwords...
     • Self-service portals/USSD
     • Cash-out via PRS
     • Voice mailbox
Hosting


    Local network for collocated/dedicated
    servers
     • Attacks of a network/data link layer, attacks
       against network infrastructure
     • ARP Spoofing, IP Spoofing… old school
     • Intrasegment IPv6 attacks

    Attack against infrastructure (DNS…)

    Shared hosting (once having intruded into
    one of the sites…)
Pentester Tips & Tricks




                  ||      ||
Pentester Tips & Tricks

    We are only searching for vulnerabilities

    We use only our own resources for demonstration

    We avoid information protected by the law

    A fickle client…

         C: Prove it! Enter the portal!

         P: No, thank you. Here is a password – enter it
         yourself…
Attacks BY
Subscribers
Why Subscribers? AGAIN?



    Subscribers are WITHIN one of the
    perimeters

    Many attacks are easier if performed
    on subscriber’s side

    The number of subscribers of modern
    telecoms is quite large
General Problems

   Network access control weakness

   Intrasegment attacks

   Protection of the end equipment

   Web applications for subscribers
Network Access Control Errors


  A direct way does not
  always mean the most
  interesting one :)




       C:>tracert -d www.ru

       Tracing route to www.ru [194.87.0.50] over a maximum of 30 hops:

       1   *    *   * Request timed out.
       3   10 ms 13 ms 5 ms 192.168.5.4
       4   7 ms 6 ms 5 ms 192.168.4.6
Per Aspera Ad…level 15




                         #sh run
                         Using 10994 out of 155640 bytes
                         !
                         version 12.3
                         ...
                         !
                         username test1 password 7 <removed>
                         username antipov password 7 <removed>
                         username gordey password 7 <removed>
                         username anisimov password 7 <removed>
                         username petkov password 7 <removed>
                         username mitnik password 7 <removed>
                         username jeremiah password 7 <removed>
Network Access Control Errors

  GPRS/EDGE/3G, which traditionally stick to
  NAT

  Other clients are “invisible”

  This is not always true…

  GPRS: payment kiosks, ATMs, and etc., which
  can have:
   • A missing firewall;
   • Missing updates;
   • misconfigurations.
A Joke

  SNMP ‘private’ on a GGSN
A Joke

  Captive portal

  “Your balance is low”
   •Linux
   •Apache
   •MySQL
   •PHP
Intrasegment Attacks

   Subscribers of broadcast access and hosting
Web Portals and Services for Subscribers

   A good few of resources
    • forums, dating sites, video convertors, online
      games, statistics, online shopping, photo
      hosting, file hosting, online radio…

   A good few of loopholes
    • Old versions of applications and CMS, SQLi, LFI
      and so on…

   Single-Sign-On or the same passwords…


   Are often placed into the DMZ together
with “ordinary” servers
Web Portals and Servers for Subscribers

   Games server*

   Proxima CMS, path traversal

   + SQLi + configuration error= root

   About 20 more sites on the host
    • Online broadcasting
    • Branded desktop applications
    •…
Pentester Tips & Tricks



    Resources on the subscriber networks are often
    SUBSCRIBER’s resources

    Getting approvals for every step of your work

    Many systems operate on a wing and a prayer

         They collapse all the time, but if you are online
        anyway…

    Avoiding (!) information protected by the law

    A fickle client…
Perimeter…
Just a Perimeter
Perimeter?


    Large, large networks!
     •Use clouds
    Great number of “third-party” resources

    Get ready for rarities

    Corporate web applications

    The Lord of The Net
Great Number of Third-Party Resources


    Quite a large number of perimeter hosts
    belong to partners/subscribers

    Quite often these hosts are “mixed” with
    those of the client

    Yet, they should not be disregarded
     • Imagine that you are already a level
       15/root/admin on the host and you just
       entered the segment
Great Number of Third-Party Resources

    SQLi on the mobile content portal (Oracle, sys)

    private at the VoIP gateway

    Maintained by partners

    No hacking 

    Are actually located at a flat DMZ together with
    client’s servers

    Enabling the billing Front-End
Rarities


    So many different things can be found on the
    perimeter
      • Technology “hardware”
      • VoIP
      • Old-school firewalls
      • Web cameras
      •Unusual control systems: ELOM,
       conditioners (!), UPS (!), etc.

    Keep in mind the momentous attacks (X-mas
    scan, UNIX RPC, Finger, and etc.)

    Don’t underrate the rarities
Rarities


    nc –P 20 xxx.xxx.xxx.xxx 8080

    Wireless Access Point
      • Insecure password for web
      • Enabling Telnet
      • Compiling tcpdump/nc and others for the platform
      • Using them for traffic/tunnel interception

    Web camera
      • LFI via a web interface
      • Obtaining configuration files
      • Gaining an access password for the control system
      • Gaining access to the control system
Journey to Gattaca
Watching the Video
Cobweb


   Lots of Web. For real.

   Enterprise web applications are often
   accessible
    • Terminal services (Citrix)
    • Email systems
    • Helpdesk systems
    • Ill-equipped for operating on the
                              “wild web”
Support system

    We found and applied Path Traversal
    ManageEngine ServiceDesk Plus

    Gained the “encrypted” password for
    integration with AD

    The password fitted for VPN

    The password fitted for AD (Enterprise
    Admin)

    The password fitted for Cisco ACS

    So we finally got lucky!
VPN

      Lots of VPN, good and not so good

      Passwords, IPSec Aggressive Mode…
The Lords of the Net


    Administrator, the Lord of the Net

    A large network means many administrators

    Feudalism
     • Rules are for wimps
     • Enterprise IT infrastructure
             VS “my infrastructure”
     • Remote access systems
     • Amusing web servers and trail
                           apps
“All animals are equal but…”
The Lords of the Rings


    TCP:1337 (SSL) – a web server of the system
    administration department

    Radio broadcasting (ShoutCast Server with a
    default password)

    Location: an administrator workstation

    With all the consequences…
Pentester Tips & Tricks



    Try not to miss a thing on the perimeter

    Keep in mind third-party hosts

          Get approvals for every step of your work

    Don’t disregard network rarities. Sometimes a web
    camera can pave the way to the network core!

    Pay special attention to Web

    Remember admins
Partners and
Contractors
Contractors?


    Requirements for system access (VPN)

    Standard accounts (in order to remember)

    No update management

    Employees
Contractors…

    Contractor in the technology network
     • Wireless interface on a laptop
     • Everyone, a shared folder
     • The folder contains an installer of a control system
       for xDSL modems/end routers
     • With an in-built SA password in DBMS
     • Who also has the same system?


     Applications for agents, sale and activation of
    communication services package
     • Fat-client application
     • Build-in access password for DBMS
     • … as SYSDBA
There Are Different Contractors...


    OMG?! HAVE I PWND THAT?
Pentester Tips & Tricks



    Contractors are never to be hacked

         Get approvals for every step of your work

    Many scenarios can be efficiently demonstrated by a
    “white box” method

    Suppose, I were a contractor

          But you are not a contractor

         …A fickle client…
Technology
 Networks
Something special?

    Changes are highly dynamic in the network
     • New gadgets keep emerging
     • Contractors keep working
     • Configuration keeps changing

    Implemented components and protocols are standard
     • Threats typical for IP
     • Configuration errors
     • Platform vulnerabilities

    Some errors can cause failures and facilitate frauds
Technology Networks Are Networks First of All!



    Equipment vulnerabilities

    Test systems, contractors’ systems

    FORGOTTEN(!) systems

    Network management systems
Forgotten Systems


      Non-configured switch

      Uptime: 2 years!
Network Management Systems


    Such treasure
     •Network topology
     •Device configuration
     •Passwords and keys for
     VPN/Wi-Fi/SNMP/RADIUS/VPN…

    “They are behind the firewall”
     + Web password
     - OS, DBMS, Web updates
     + Standard passwords for DBMS
     + File(!) shares
That’s Tough!



     WPA-PSK for
     AP is found

     Where are the
     points
     located?!!
Backup Is Quite a Useful Thing!


     Especially on the Net!
VoIP Is a Honey Pie

                                     Call management
                                                            Identity theft
                                          (fraud)

                                  Access to the
                                enterprise network




                                                            VoIP
              Attack against…
                                      Fraud or fraudulent
               infrastructure
                                       mispresentation
               gateways
               protocols
               i[P]Phone
                                          Wiretapping       And more…
VoIP

1. VoIP Wi-Fi access (No WPA, so “slow”)

2. The nearest CISCO Call Manager
  a) SQLi, CVE-2008-0026
       https://www.example.org/ccmuser/personaladdressbookEdit.do?key='+UNION+ALL+SELECT+'','','',user,'',password+from+app
       licationuser;--

  b) Collecting hash
         runsql select user,password from applicationuser
  c) Restoring passwords from the hash
                                                                                                                      Компьютер
                                                                                                                      нарушителя



3. Level 15 for the whole network
                                                                                                   1
                                                                                                       WEP
                                                                        ТОП       ТОП


                                                                              2             КЛВС
                                                                                                                     Вне офиса
                                                                                                                    Компании «А»




                                                                 PSTN
                                                                            IP PBX
                                                                         Компания «А»
                                                                                        3
                                                                                                             SQL injection
                                                                                                             CVE-2008-0026
Mobile Networks – It’s So Banal

    Only the perimeter is secure

    Some weird hardware?
     • 3G SoftSwitch – Solaris 10 с CVE-2007-0882
       (telnet -f)
     •…
Self-Service Platform

    WEB/USSD/WAP

    Interface with payment systems

    A possibility of money withdrawal

    No authentication (Caller ID)

    Weak authentication (PIN-код?)

    Vulnerable applications (Web, SQL Injection, XSS)
VAS platforms

    Someone’s application on the operator’s network

    Malicious content, WAP-provisioning

    Rich access via mobile stations (WAP/HTTP):
     • Web application vulnerabilities
     • Platform vulnerabilities

    Platforms for service development
Instead of a
 Conclusion
Forensic Nightmare

    Large networks make it extremely difficult to
    investigate incidents

    Lots of vectors, tons of hardware, a great deal
    of administrators

    A couple of hops on the internal network, and
    no one will make head or tail of it
Who is there?
Trying To Make Head or Tail…
Some Are Concerned…
Others Are Happy
Thank you for your attention!

Sergey Gordeychik

gordey@ptsecurity.com

http://sgordey.blogspot.com
http://ptresearch.blogspot.com
http://phdays.com

More Related Content

PPT
Denis Baranov: Root via XSS
PPTX
Критически опасные уязвимости в популярных 3G- и 4G-модемах или как построить...
PPTX
Буткит через СМС: оценка безопасности сети 4G
PDF
DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...
PDF
Root via SMS: 4G access level security assessment, Sergey Gordeychik, Alexand...
PDF
D1 t1 t. yunusov k. nesterov - bootkit via sms
PPT
[ENG] IPv6 shipworm + My little Windows domain pwnie
PDF
SD-WAN Internet Census, Zeronighst 2018
Denis Baranov: Root via XSS
Критически опасные уязвимости в популярных 3G- и 4G-модемах или как построить...
Буткит через СМС: оценка безопасности сети 4G
DEFCON 22: Bypass firewalls, application white lists, secure remote desktops ...
Root via SMS: 4G access level security assessment, Sergey Gordeychik, Alexand...
D1 t1 t. yunusov k. nesterov - bootkit via sms
[ENG] IPv6 shipworm + My little Windows domain pwnie
SD-WAN Internet Census, Zeronighst 2018

What's hot (20)

PDF
Defcon 22-adrian-crenshaw-dropping-docs-on-darknets-how-peop
PPT
Attacking Automatic Wireless Network Selection
PDF
Nikita Abdullin - Reverse-engineering of embedded MIPS devices. Case Study - ...
PDF
Solnik secure enclaveprocessor-pacsec
PDF
Kasza smashing the_jars
PPTX
Number one-issue-voip-today-fraud
PPTX
No More Fraud, Astricon, Las Vegas 2014
PPT
Anton Chuvakin on Honeypots
PDF
Defcon 22-david-wyde-client-side-http-cookie-security
PPTX
No More Fraud Cluecon2014
PPTX
Олег Купреев «Уязвимости программного обеспечения телекоммуникационного обору...
PPT
Freeware Security Tools You Need
PDF
PPTX
Hacking routers as Web Hacker
PPTX
How Smart Thermostats Have Made Us Vulnerable
PPT
The Top 10/20 Internet Security Vulnerabilities – A Primer
PDF
Ceh v5 module 10 session hijacking
PPTX
Uncommon MiTM in uncommon conditions
PPTX
Root via sms. 4G security assessment
PDF
Ceh v5 module 21 cryptography
Defcon 22-adrian-crenshaw-dropping-docs-on-darknets-how-peop
Attacking Automatic Wireless Network Selection
Nikita Abdullin - Reverse-engineering of embedded MIPS devices. Case Study - ...
Solnik secure enclaveprocessor-pacsec
Kasza smashing the_jars
Number one-issue-voip-today-fraud
No More Fraud, Astricon, Las Vegas 2014
Anton Chuvakin on Honeypots
Defcon 22-david-wyde-client-side-http-cookie-security
No More Fraud Cluecon2014
Олег Купреев «Уязвимости программного обеспечения телекоммуникационного обору...
Freeware Security Tools You Need
Hacking routers as Web Hacker
How Smart Thermostats Have Made Us Vulnerable
The Top 10/20 Internet Security Vulnerabilities – A Primer
Ceh v5 module 10 session hijacking
Uncommon MiTM in uncommon conditions
Root via sms. 4G security assessment
Ceh v5 module 21 cryptography

Viewers also liked (20)

PPT
WorlCall Telecommunication Limited
PPTX
How to hack a telecommunication company and stay alive. Sergey Gordeychik
PPT
Statistics final presentation
PDF
Mobile payment.and.myanmar.jul2014
PPTX
IIT,IPR Seminar
PPTX
Cloud by dev
PDF
Ptcl internship report by nasir khan
PPTX
PPT
Wireless power transmission
PPTX
Satellite phones
PPTX
Cluster computer
PPT
Mansión Errázuriz Boca Lebu
PPT
ptcl noc Introductry concepts -_lecture___1
PPT
PDF
Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)
PDF
Training Autocad Indonesia
PDF
MTech_ final_ppt
PDF
Module1 c - rajesh sir
PDF
Huawei wcdma traffic counter
PPTX
THEORY 1 : Lectures Notes in Reactions
WorlCall Telecommunication Limited
How to hack a telecommunication company and stay alive. Sergey Gordeychik
Statistics final presentation
Mobile payment.and.myanmar.jul2014
IIT,IPR Seminar
Cloud by dev
Ptcl internship report by nasir khan
Wireless power transmission
Satellite phones
Cluster computer
Mansión Errázuriz Boca Lebu
ptcl noc Introductry concepts -_lecture___1
Lesson 17: Indeterminate forms and l'Hôpital's Rule (slides)
Training Autocad Indonesia
MTech_ final_ppt
Module1 c - rajesh sir
Huawei wcdma traffic counter
THEORY 1 : Lectures Notes in Reactions

Similar to How to hack a telecom and stay alive (20)

PPTX
How to Hack a Telecom and Stay Alive
PDF
Invited Talk - Cyber Security and Open Source
PDF
Plugging Network Security Holes Using NetFlow
PDF
Luiz eduardo. introduction to mobile snitch
PDF
20120329 Cybercrime threats on e-world
PPT
Penetration Testing Basics
PPTX
Cybersecurity cyberlab2
PDF
Scenatio based hacking - enterprise wireless security (Vivek Ramachandran)
PDF
Information Security Risk Management
PDF
HITB2013AMS Defenting the enterprise, a russian way!
 
PPT
NewIinternet security
PPT
New internet security
PDF
Wireless Hotspot: The Hackers Playground
PDF
Securing UC Borders with Acme Packet
PDF
The Dirty Little Secrets They Didn’t Teach You In Pentesting Class
PPT
SSL & TLS Architecture short
PDF
Designing.and.implementing.linux
PPT
Download It
PDF
Unit 5 - Designing Internet Systems and Servers - IT
PDF
Workshop on Network Security
How to Hack a Telecom and Stay Alive
Invited Talk - Cyber Security and Open Source
Plugging Network Security Holes Using NetFlow
Luiz eduardo. introduction to mobile snitch
20120329 Cybercrime threats on e-world
Penetration Testing Basics
Cybersecurity cyberlab2
Scenatio based hacking - enterprise wireless security (Vivek Ramachandran)
Information Security Risk Management
HITB2013AMS Defenting the enterprise, a russian way!
 
NewIinternet security
New internet security
Wireless Hotspot: The Hackers Playground
Securing UC Borders with Acme Packet
The Dirty Little Secrets They Didn’t Teach You In Pentesting Class
SSL & TLS Architecture short
Designing.and.implementing.linux
Download It
Unit 5 - Designing Internet Systems and Servers - IT
Workshop on Network Security

More from qqlan (20)

PDF
Kaspersky SAS SCADA in the Cloud
PPTX
Миссиоцентрический подход к кибербезопасности АСУ ТП
PDF
ABUSE THEIR CLOUDS. ОБЛАЧНЫЕ ВЫЧИСЛЕНИЯ ГЛАЗАМИ ПЕНТЕСТЕРА, ЮРИЙ ГОЛЬЦЕВ, СЕ...
PDF
Best of Positive Research 2013
PDF
Web-style Wireless IDS attacks, Sergey Gordeychik
PDF
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
PPTX
SCADA StrangeLove: Too Smart Grid in da Cloud [31c3]
PDF
Pt infosec - 2014 - импортозамещение
PPTX
SCADA StrangeLove Kaspersky SAS 2014 - LHC
PDF
Firebird Interbase Database engine hacks or rtfm
PDF
SCADA StrangeLove 2: We already know
PDF
Internet connected ICS/SCADA/PLC
PDF
SCADA deep inside:protocols and software architecture
PDF
Techniques of attacking ICS systems
PDF
Positive Technologies Application Inspector
PPTX
Database honeypot by design
PDF
Positive Technologies Application Inspector
PPTX
Black Hat: XML Out-Of-Band Data Retrieval
PDF
ICS/SCADA/PLC Google/Shodanhq Cheat Sheet v2
PDF
Positive Technologies - S4 - Scada under x-rays
Kaspersky SAS SCADA in the Cloud
Миссиоцентрический подход к кибербезопасности АСУ ТП
ABUSE THEIR CLOUDS. ОБЛАЧНЫЕ ВЫЧИСЛЕНИЯ ГЛАЗАМИ ПЕНТЕСТЕРА, ЮРИЙ ГОЛЬЦЕВ, СЕ...
Best of Positive Research 2013
Web-style Wireless IDS attacks, Sergey Gordeychik
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
SCADA StrangeLove: Too Smart Grid in da Cloud [31c3]
Pt infosec - 2014 - импортозамещение
SCADA StrangeLove Kaspersky SAS 2014 - LHC
Firebird Interbase Database engine hacks or rtfm
SCADA StrangeLove 2: We already know
Internet connected ICS/SCADA/PLC
SCADA deep inside:protocols and software architecture
Techniques of attacking ICS systems
Positive Technologies Application Inspector
Database honeypot by design
Positive Technologies Application Inspector
Black Hat: XML Out-Of-Band Data Retrieval
ICS/SCADA/PLC Google/Shodanhq Cheat Sheet v2
Positive Technologies - S4 - Scada under x-rays

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Cloud computing and distributed systems.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Modernizing your data center with Dell and AMD
PDF
cuic standard and advanced reporting.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Approach and Philosophy of On baking technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Cloud computing and distributed systems.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Network Security Unit 5.pdf for BCA BBA.
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The AUB Centre for AI in Media Proposal.docx
Modernizing your data center with Dell and AMD
cuic standard and advanced reporting.pdf

How to hack a telecom and stay alive

  • 1. How to Hack a Telecommunication Company And Stay Alive Sergey Gordeychik Positive Technologies CTO
  • 2. Ic Beo Sergey Gordeychik, Positive Technologies, CTO A “script writer” and a “director” of the Positive Hack Days forum Science editor of the SecurityLab.Ru portal Author of the Web Application Security course, and a book titled A Wireless Network Security and a namesake course A participant of WASC, RISSPA http://sgordey.blogspot.com
  • 3. What Is It All About? What is so peculiar about telecoms? Attacks against subscribers/Attacks by subscribers Perimeter… Just a perimeter Partners and contractors Technology networks
  • 5. Specific Features of Telecommunication Companies Large, large networks Unification of various services (broadband access, Wi-Fi, hosting, mobile communication) Great number of applications and systems on the perimeter Exotics inside and outside Lots of perimeters Most networks belong to third parties Forensics nightmare
  • 6. How many perimeters do telecoms have? Internet Subscribers Partners Office Technology network
  • 7. …and a bit more… Mobile communications Broadband Technological access network Wired broadband access Wireless broadband access VOIP Hosting Internet TV Hosting ...
  • 8. …and a bit more… Vladivostok Moscow Roma Phnom Penh
  • 9. Attack AGAINST Subscribers
  • 10. Why Subscribers? Subscribers’ $ = telecoms’ $ DOS = - $$ - reputation - $$ PWN (100 000 PC) = Botnet Personal data!
  • 11. Broadband Access Huge non-segmented networks Great number of end devices: • Various SOHO devices • Installed and unattended • Standard bugs configurations A manual on insecurity of network appliances  SNMP/Telnet/HTTP/UPnP control protocols in the Internet  Insecure/empty passwords  Web attacks on Client’s side (Pinning, CSRF) Huge number of users • 1 out of1000, for 10 000 000 = 10 000 • Trivial passwords
  • 12. Broadband Access. Attack Collecting information • Network scanning • Access layer error (BRAS) • Collecting information from internal forums and other resources • Self-service platform errors Invalid login or password vs Invalid username Preparing scenarios • Capturing devices • Guessing passwords $profit$
  • 15. Examples of Risks Gaining access to a self-service portal • Cashout  guessing password or stealing the router cfg files (vpn/pppoe)  transferring money from a broadband access to a cell phone (integration!)  Cashing out via PRS • It drives me NUTS!!!  Guessing password or stealing the router cfg files (vpn/ppoe)  Purchasing the available  Balance =0 Performing a mass hacking of a router/PC Performing a mass changing of configurations
  • 16. Attacks against Clients of Mobile Networks Faking Caller ID •self-service portal/USSD •voice mailbox •cash-out via PRS •direct money withdrawal Internet SS7 Taget GSM SIP-GW Tech FAKE ID Systems unauthorized access
  • 17. Attacks against Clients of Mobile Networks Malware for mobile devices; Intercepting GSM – Not a ROCKET SCIENCE! • attacking A5/1 • MITM, switch to A5/0 • downgrading UMTS -> GSM Traffic, SMS, one-time passwords... • Self-service portals/USSD • Cash-out via PRS • Voice mailbox
  • 18. Hosting Local network for collocated/dedicated servers • Attacks of a network/data link layer, attacks against network infrastructure • ARP Spoofing, IP Spoofing… old school • Intrasegment IPv6 attacks Attack against infrastructure (DNS…) Shared hosting (once having intruded into one of the sites…)
  • 19. Pentester Tips & Tricks || ||
  • 20. Pentester Tips & Tricks We are only searching for vulnerabilities We use only our own resources for demonstration We avoid information protected by the law A fickle client… C: Prove it! Enter the portal! P: No, thank you. Here is a password – enter it yourself…
  • 22. Why Subscribers? AGAIN? Subscribers are WITHIN one of the perimeters Many attacks are easier if performed on subscriber’s side The number of subscribers of modern telecoms is quite large
  • 23. General Problems Network access control weakness Intrasegment attacks Protection of the end equipment Web applications for subscribers
  • 24. Network Access Control Errors A direct way does not always mean the most interesting one :) C:>tracert -d www.ru Tracing route to www.ru [194.87.0.50] over a maximum of 30 hops: 1 * * * Request timed out. 3 10 ms 13 ms 5 ms 192.168.5.4 4 7 ms 6 ms 5 ms 192.168.4.6
  • 25. Per Aspera Ad…level 15 #sh run Using 10994 out of 155640 bytes ! version 12.3 ... ! username test1 password 7 <removed> username antipov password 7 <removed> username gordey password 7 <removed> username anisimov password 7 <removed> username petkov password 7 <removed> username mitnik password 7 <removed> username jeremiah password 7 <removed>
  • 26. Network Access Control Errors GPRS/EDGE/3G, which traditionally stick to NAT Other clients are “invisible” This is not always true… GPRS: payment kiosks, ATMs, and etc., which can have: • A missing firewall; • Missing updates; • misconfigurations.
  • 27. A Joke SNMP ‘private’ on a GGSN
  • 28. A Joke Captive portal “Your balance is low” •Linux •Apache •MySQL •PHP
  • 29. Intrasegment Attacks Subscribers of broadcast access and hosting
  • 30. Web Portals and Services for Subscribers A good few of resources • forums, dating sites, video convertors, online games, statistics, online shopping, photo hosting, file hosting, online radio… A good few of loopholes • Old versions of applications and CMS, SQLi, LFI and so on… Single-Sign-On or the same passwords… Are often placed into the DMZ together with “ordinary” servers
  • 31. Web Portals and Servers for Subscribers Games server* Proxima CMS, path traversal + SQLi + configuration error= root About 20 more sites on the host • Online broadcasting • Branded desktop applications •…
  • 32. Pentester Tips & Tricks Resources on the subscriber networks are often SUBSCRIBER’s resources Getting approvals for every step of your work Many systems operate on a wing and a prayer They collapse all the time, but if you are online anyway… Avoiding (!) information protected by the law A fickle client…
  • 34. Perimeter? Large, large networks! •Use clouds Great number of “third-party” resources Get ready for rarities Corporate web applications The Lord of The Net
  • 35. Great Number of Third-Party Resources Quite a large number of perimeter hosts belong to partners/subscribers Quite often these hosts are “mixed” with those of the client Yet, they should not be disregarded • Imagine that you are already a level 15/root/admin on the host and you just entered the segment
  • 36. Great Number of Third-Party Resources SQLi on the mobile content portal (Oracle, sys) private at the VoIP gateway Maintained by partners No hacking  Are actually located at a flat DMZ together with client’s servers Enabling the billing Front-End
  • 37. Rarities So many different things can be found on the perimeter • Technology “hardware” • VoIP • Old-school firewalls • Web cameras •Unusual control systems: ELOM, conditioners (!), UPS (!), etc. Keep in mind the momentous attacks (X-mas scan, UNIX RPC, Finger, and etc.) Don’t underrate the rarities
  • 38. Rarities nc –P 20 xxx.xxx.xxx.xxx 8080 Wireless Access Point • Insecure password for web • Enabling Telnet • Compiling tcpdump/nc and others for the platform • Using them for traffic/tunnel interception Web camera • LFI via a web interface • Obtaining configuration files • Gaining an access password for the control system • Gaining access to the control system
  • 41. Cobweb Lots of Web. For real. Enterprise web applications are often accessible • Terminal services (Citrix) • Email systems • Helpdesk systems • Ill-equipped for operating on the “wild web”
  • 42. Support system We found and applied Path Traversal ManageEngine ServiceDesk Plus Gained the “encrypted” password for integration with AD The password fitted for VPN The password fitted for AD (Enterprise Admin) The password fitted for Cisco ACS So we finally got lucky!
  • 43. VPN Lots of VPN, good and not so good Passwords, IPSec Aggressive Mode…
  • 44. The Lords of the Net Administrator, the Lord of the Net A large network means many administrators Feudalism • Rules are for wimps • Enterprise IT infrastructure VS “my infrastructure” • Remote access systems • Amusing web servers and trail apps
  • 45. “All animals are equal but…”
  • 46. The Lords of the Rings TCP:1337 (SSL) – a web server of the system administration department Radio broadcasting (ShoutCast Server with a default password) Location: an administrator workstation With all the consequences…
  • 47. Pentester Tips & Tricks Try not to miss a thing on the perimeter Keep in mind third-party hosts Get approvals for every step of your work Don’t disregard network rarities. Sometimes a web camera can pave the way to the network core! Pay special attention to Web Remember admins
  • 49. Contractors? Requirements for system access (VPN) Standard accounts (in order to remember) No update management Employees
  • 50. Contractors… Contractor in the technology network • Wireless interface on a laptop • Everyone, a shared folder • The folder contains an installer of a control system for xDSL modems/end routers • With an in-built SA password in DBMS • Who also has the same system? Applications for agents, sale and activation of communication services package • Fat-client application • Build-in access password for DBMS • … as SYSDBA
  • 51. There Are Different Contractors... OMG?! HAVE I PWND THAT?
  • 52. Pentester Tips & Tricks Contractors are never to be hacked Get approvals for every step of your work Many scenarios can be efficiently demonstrated by a “white box” method Suppose, I were a contractor But you are not a contractor …A fickle client…
  • 54. Something special? Changes are highly dynamic in the network • New gadgets keep emerging • Contractors keep working • Configuration keeps changing Implemented components and protocols are standard • Threats typical for IP • Configuration errors • Platform vulnerabilities Some errors can cause failures and facilitate frauds
  • 55. Technology Networks Are Networks First of All! Equipment vulnerabilities Test systems, contractors’ systems FORGOTTEN(!) systems Network management systems
  • 56. Forgotten Systems Non-configured switch Uptime: 2 years!
  • 57. Network Management Systems Such treasure •Network topology •Device configuration •Passwords and keys for VPN/Wi-Fi/SNMP/RADIUS/VPN… “They are behind the firewall” + Web password - OS, DBMS, Web updates + Standard passwords for DBMS + File(!) shares
  • 58. That’s Tough! WPA-PSK for AP is found Where are the points located?!!
  • 59. Backup Is Quite a Useful Thing! Especially on the Net!
  • 60. VoIP Is a Honey Pie Call management Identity theft (fraud) Access to the enterprise network VoIP Attack against… Fraud or fraudulent infrastructure mispresentation gateways protocols i[P]Phone Wiretapping And more…
  • 61. VoIP 1. VoIP Wi-Fi access (No WPA, so “slow”) 2. The nearest CISCO Call Manager a) SQLi, CVE-2008-0026 https://www.example.org/ccmuser/personaladdressbookEdit.do?key='+UNION+ALL+SELECT+'','','',user,'',password+from+app licationuser;-- b) Collecting hash runsql select user,password from applicationuser c) Restoring passwords from the hash Компьютер нарушителя 3. Level 15 for the whole network 1 WEP ТОП ТОП 2 КЛВС Вне офиса Компании «А» PSTN IP PBX Компания «А» 3 SQL injection CVE-2008-0026
  • 62. Mobile Networks – It’s So Banal Only the perimeter is secure Some weird hardware? • 3G SoftSwitch – Solaris 10 с CVE-2007-0882 (telnet -f) •…
  • 63. Self-Service Platform WEB/USSD/WAP Interface with payment systems A possibility of money withdrawal No authentication (Caller ID) Weak authentication (PIN-код?) Vulnerable applications (Web, SQL Injection, XSS)
  • 64. VAS platforms Someone’s application on the operator’s network Malicious content, WAP-provisioning Rich access via mobile stations (WAP/HTTP): • Web application vulnerabilities • Platform vulnerabilities Platforms for service development
  • 65. Instead of a Conclusion
  • 66. Forensic Nightmare Large networks make it extremely difficult to investigate incidents Lots of vectors, tons of hardware, a great deal of administrators A couple of hops on the internal network, and no one will make head or tail of it
  • 68. Trying To Make Head or Tail…
  • 71. Thank you for your attention! Sergey Gordeychik gordey@ptsecurity.com http://sgordey.blogspot.com http://ptresearch.blogspot.com http://phdays.com