SlideShare una empresa de Scribd logo
1 de 36
Dave Keene, CISSP, MCT, MCITP, VCP, C|EH
                     Chief Security Officer
              Texas Association of Counties


                                              1
Overview
   About Me
   What is Great Plains and why should I care
   Examine the security flaws and solutions in the following areas
           Application

           SQL

           Installation

   Attacking GP for penetration testing
   Summary
   Additional Resources


© Dave Keene 2012. All rights reserved
                                                                      2
About Me
   Information Security for 8 years

   IT work for 14 years

   Worked with Great Plains (GP) since 2000

   Spent the last two years testing GP installs in a lab
        environment, support production installations
   Manage network and security practice that provides IT
        support to the 254 counties in Texas

© Dave Keene 2012. All rights reserved
                                                            3
What is Microsoft Dynamics and
Great Plains?
   Dynamics - ERP family from Microsoft

   Great Plains has 42,000 customers worldwide

   Accounting system, but additional uses are:
           Sales

           Manufacturing

           HR/Payroll

           Inventory


© Dave Keene 2012. All rights reserved
                                                  4
Typical installation




© Dave Keene 2012. All rights reserved
                                         5
© Dave Keene 2012. All rights reserved
                                         6
There is a lot of good data in GP




© Dave Keene 2012. All rights reserved
                                         7
There is a lot of good data in GP




© Dave Keene 2012. All rights reserved
                                         8
There is a lot of good data in GP




© Dave Keene 2012. All rights reserved
                                         9
There is a lot of good data in GP




© Dave Keene 2012. All rights reserved
                                         10
What be done with this data?
  What could happen:                     Compliance problems?

   Identity theft                        PII

   Bank fraud                            PHI / HIPPA

   Social Engineering                    PCI DSS

   Electronic Funds                      Just to name a few…
        Transfers


© Dave Keene 2012. All rights reserved
                                                                 11
Application Problems

                                                and Solutions


© Dave Keene 2012. All rights reserved
                                                            12
GP Application problems
   No master security between different “company” databases

   No default enforcement of password policy

   No default built in security auditing

   Routine upgrades cause security problems

   Common file shares, code injection

   Fat client install is on shared folder; requires local admin



© Dave Keene 2012. All rights reserved
                                                                   13
GP Application Solutions
   Use third party solutions for
           Combining security between companies

           Active Directory integration

           Auditing

   Engage Microsoft Partners to plan upgrades*

   Common files – Use NTFS security for GP users only

   Allow full access to GP program files

© Dave Keene 2012. All rights reserved
                                                         14
Inherent problems with GP
                                            SQL installation

                                         and how to fix them

© Dave Keene 2012. All rights reserved
                                                           15
GP SQL installation problems
   GP on separate SQL instance in native mode

   SQL level security – no Windows authentication

   ODBC ports hard coded into application

   DYNSA account privilege level




© Dave Keene 2012. All rights reserved
                                                     16
GP SQL installation solutions
   Harden SQL instance

   Force password policy




© Dave Keene 2012. All rights reserved
                                         17
© Dave Keene 2012. All rights reserved
                                         18
GP SQL installation solutions
   Harden SQL instance

   Force password policy

   Hide the SQL instance




© Dave Keene 2012. All rights reserved
                                         19
© Dave Keene 2012. All rights reserved
                                         20
GP SQL installation solutions
   Harden SQL instance

   Force password policy

   Hide the SQL instance

   DYNSA – configure using documentation




© Dave Keene 2012. All rights reserved
                                            21
Installer Errors / Lack of
                                         Experience


© Dave Keene 2012. All rights reserved
                                                  22
Installer error/lack of experience
   GP sold and installed through partner

   Business analyst installing software?

   Due to the lack of security, you MUST use a third party
        application the fill in the gaps

   Install uses privileged service account and SA




© Dave Keene 2012. All rights reserved
                                                              23
Installer Solutions
   Partner you choose is well versed in SQL and GP

           Find user group recommendations - GPUG

   Third party vendors to secure GP

   Disable SA account after install

   Change service account to least privilege




© Dave Keene 2012. All rights reserved
                                                      24
Penetration Testing

                                         Against Great Plains


© Dave Keene 2012. All rights reserved
                                                            25
Performing Reconnaissance
   Passive information gathering:

           Website – CFO / Accounting / Finance

           Website – portals that use GP




© Dave Keene 2012. All rights reserved
                                                   26
Performing Reconnaissance




© Dave Keene 2012. All rights reserved
                                         27
Performing Reconnaissance
   Passive information gathering:

           Website – CFO / Accounting / Finance

           Website – portals that use GP

   Make some phone calls

           Software purchasing agent

           Head of finance



© Dave Keene 2012. All rights reserved
                                                   28
Scanning and Enumeration
   Find out if GP is running in the environment using
        sqlninja or…

   nmap -n -v -sC --script=broadcast-ms-sql-discover.nse

   SQL server Management Studio

   Data Sources (ODBC) in Windows




© Dave Keene 2012. All rights reserved
                                                            29
Gaining Access
   Use sqlninja, sqlmap, to test for SA

   Use sqlbrute and sqldict

   Administrative share – fat client install

   Last but not least…




© Dave Keene 2012. All rights reserved
                                                30
Dex.ini
 Workstation=WINDOWS
 Pathname=DYNAMICS/dbo/
 BuildSQLMessages=FALSE
 SQLLastDataSource=Dynamics GP 2010
 LastYearEndUpdate=11/17/2011
 LastTaxCodeUpdate=01/20/2012
 Dictionary Version=11.00.1935
 ShowDebugMessages=FALSE
 AutoInstallChunks=TRUE




                    © Dave Keene 2012. All rights reserved   31
Summary



© Dave Keene 2012. All rights reserved
                                               32
Summary
   Security defects found in GP and possible solutions

           Application

           SQL

           Installation

   Penetration testing against GP




© Dave Keene 2012. All rights reserved
                                                          33
Additional Resources
   Contact me for more information on:

           Dexterity development system

           Great Plains SDK

           GP Support Tool

           GP install and troubleshooting guides


                                         dave@davekeene.com

© Dave Keene 2012. All rights reserved
                                                              34
Additional Resources
   Hardening guide for Dynamics AX – none published (yet) for GP
                            http://www.microsoft.com/en-us/download/details.aspx?id=232

   SQL 2008 Security Best Practices
           http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=15289

   Configure DYNSA account
         http://jpdavey.blogspot.com/2011/05/sa-dynsa-and-poweruser-in-dynamics-gp.html

   Great Plains User Group
                                              http://www.gpug.com/


                                         dave@davekeene.com

© Dave Keene 2012. All rights reserved
                                                                                          35
Questions? Comments?

                                                            Dave Keene
                                                   dave@davekeene.com
                                                          @surferdave71
          http://www.slideshare.net/surferdave71/breaking-
                                         microsoft-dynamics-great-plains

© Dave Keene 2012. All rights reserved
                                                                       36

Más contenido relacionado

La actualidad más candente

Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...SolarWinds
 
Challenges faced by small and medium business
Challenges faced by small and medium businessChallenges faced by small and medium business
Challenges faced by small and medium businessNevales Networks
 
2019 Accelerate State of DevOps Survey Results Are In
2019 Accelerate State of DevOps Survey Results Are In2019 Accelerate State of DevOps Survey Results Are In
2019 Accelerate State of DevOps Survey Results Are InDevOps.com
 
Support as a Leader in Innovation: A Case Study with Cisco
Support as a Leader in Innovation: A Case Study with CiscoSupport as a Leader in Innovation: A Case Study with Cisco
Support as a Leader in Innovation: A Case Study with CisconoHold, Inc.
 
Using GitHub and Visual Studio Code for Mainframe Development
Using GitHub and Visual Studio Code for Mainframe DevelopmentUsing GitHub and Visual Studio Code for Mainframe Development
Using GitHub and Visual Studio Code for Mainframe DevelopmentDevOps.com
 
Running on Amazon EKS – How Greenlight Gets Security Right
Running on Amazon EKS – How Greenlight Gets Security RightRunning on Amazon EKS – How Greenlight Gets Security Right
Running on Amazon EKS – How Greenlight Gets Security RightDevOps.com
 
DataVox Corporate Profile
DataVox Corporate ProfileDataVox Corporate Profile
DataVox Corporate ProfileMollie Dobersek
 
Do you have a DR plan in place: so, don't let a disaster defeat your business
Do you have a DR plan in place: so, don't let a disaster defeat your businessDo you have a DR plan in place: so, don't let a disaster defeat your business
Do you have a DR plan in place: so, don't let a disaster defeat your businessVelocity Technology Solutions
 
PCDW For Owners
PCDW For OwnersPCDW For Owners
PCDW For Ownerscbrandon
 
Prague Agile Kitchen, Robert Batůšek - Buy a Feature game
Prague Agile Kitchen, Robert Batůšek - Buy a Feature gamePrague Agile Kitchen, Robert Batůšek - Buy a Feature game
Prague Agile Kitchen, Robert Batůšek - Buy a Feature gameTatiana Solovjova
 

La actualidad más candente (10)

Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
 
Challenges faced by small and medium business
Challenges faced by small and medium businessChallenges faced by small and medium business
Challenges faced by small and medium business
 
2019 Accelerate State of DevOps Survey Results Are In
2019 Accelerate State of DevOps Survey Results Are In2019 Accelerate State of DevOps Survey Results Are In
2019 Accelerate State of DevOps Survey Results Are In
 
Support as a Leader in Innovation: A Case Study with Cisco
Support as a Leader in Innovation: A Case Study with CiscoSupport as a Leader in Innovation: A Case Study with Cisco
Support as a Leader in Innovation: A Case Study with Cisco
 
Using GitHub and Visual Studio Code for Mainframe Development
Using GitHub and Visual Studio Code for Mainframe DevelopmentUsing GitHub and Visual Studio Code for Mainframe Development
Using GitHub and Visual Studio Code for Mainframe Development
 
Running on Amazon EKS – How Greenlight Gets Security Right
Running on Amazon EKS – How Greenlight Gets Security RightRunning on Amazon EKS – How Greenlight Gets Security Right
Running on Amazon EKS – How Greenlight Gets Security Right
 
DataVox Corporate Profile
DataVox Corporate ProfileDataVox Corporate Profile
DataVox Corporate Profile
 
Do you have a DR plan in place: so, don't let a disaster defeat your business
Do you have a DR plan in place: so, don't let a disaster defeat your businessDo you have a DR plan in place: so, don't let a disaster defeat your business
Do you have a DR plan in place: so, don't let a disaster defeat your business
 
PCDW For Owners
PCDW For OwnersPCDW For Owners
PCDW For Owners
 
Prague Agile Kitchen, Robert Batůšek - Buy a Feature game
Prague Agile Kitchen, Robert Batůšek - Buy a Feature gamePrague Agile Kitchen, Robert Batůšek - Buy a Feature game
Prague Agile Kitchen, Robert Batůšek - Buy a Feature game
 

Destacado

Dynamics GP Tips and Tricks from Amplify 2013
Dynamics GP Tips and Tricks from Amplify 2013Dynamics GP Tips and Tricks from Amplify 2013
Dynamics GP Tips and Tricks from Amplify 2013vweinstein
 
2016 GPUG Summit Hacked
2016 GPUG Summit Hacked2016 GPUG Summit Hacked
2016 GPUG Summit HackedRick Zich
 
21st centuary dynamics of supply chain management
21st centuary dynamics of supply chain management21st centuary dynamics of supply chain management
21st centuary dynamics of supply chain managementUday Joshi
 
Communication during system rollouts
Communication during system rolloutsCommunication during system rollouts
Communication during system rolloutsJames G. Bohn, Ph.D.
 
ERP Implementation cycle
ERP Implementation cycleERP Implementation cycle
ERP Implementation cycleMantavya Gajjar
 

Destacado (8)

Tools and Resources to Make Your Microsoft Dynamics GP Zing
Tools and Resources to Make Your Microsoft Dynamics GP ZingTools and Resources to Make Your Microsoft Dynamics GP Zing
Tools and Resources to Make Your Microsoft Dynamics GP Zing
 
Dynamics GP Tips and Tricks from Amplify 2013
Dynamics GP Tips and Tricks from Amplify 2013Dynamics GP Tips and Tricks from Amplify 2013
Dynamics GP Tips and Tricks from Amplify 2013
 
2016 GPUG Summit Hacked
2016 GPUG Summit Hacked2016 GPUG Summit Hacked
2016 GPUG Summit Hacked
 
21st centuary dynamics of supply chain management
21st centuary dynamics of supply chain management21st centuary dynamics of supply chain management
21st centuary dynamics of supply chain management
 
Communication during system rollouts
Communication during system rolloutsCommunication during system rollouts
Communication during system rollouts
 
ERP Implementation cycle
ERP Implementation cycleERP Implementation cycle
ERP Implementation cycle
 
Cutover plan template Tool
Cutover plan template ToolCutover plan template Tool
Cutover plan template Tool
 
Cutover Plan V2
Cutover Plan V2Cutover Plan V2
Cutover Plan V2
 

Similar a Breaking Microsoft Dynamics Great Plains

eDevOps in HPSW from buzzword to reality
eDevOps in HPSW from buzzword to realityeDevOps in HPSW from buzzword to reality
eDevOps in HPSW from buzzword to realityAgileSparks
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...SolarWinds
 
Monitoring of Web Applications and GlassFish for Performance and Availability...
Monitoring of Web Applications and GlassFish for Performance and Availability...Monitoring of Web Applications and GlassFish for Performance and Availability...
Monitoring of Web Applications and GlassFish for Performance and Availability...SL Corporation
 
Getting Demo & POV Ready
Getting Demo & POV ReadyGetting Demo & POV Ready
Getting Demo & POV ReadyThousandEyes
 
How to plug the data gap in DevOps
How to plug the data gap in DevOpsHow to plug the data gap in DevOps
How to plug the data gap in DevOpsDevOps.com
 
How to plug the data gap in DevOps
How to plug the data gap in DevOpsHow to plug the data gap in DevOps
How to plug the data gap in DevOpsDeborah Schalm
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsEDB
 
DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation Delphix
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Microsoft Technet France
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Microsoft Décideurs IT
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Microsoft Décideurs IT
 
"What If" Analysis: How to Develop Corporate Muscle Memory with IBP
"What If" Analysis: How to Develop Corporate Muscle Memory with IBP"What If" Analysis: How to Develop Corporate Muscle Memory with IBP
"What If" Analysis: How to Develop Corporate Muscle Memory with IBPSteelwedge
 
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for SolarWinds
 
Big data and social media, BAE Systems Detica
Big data and social media, BAE Systems DeticaBig data and social media, BAE Systems Detica
Big data and social media, BAE Systems DeticaInternet World
 
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...Janine Anthony Bowen, Esq.
 
Getting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsGetting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsThousandEyes
 
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCUsing SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCKingsley Uyi Idehen
 

Similar a Breaking Microsoft Dynamics Great Plains (20)

Hp devops
Hp devopsHp devops
Hp devops
 
VCE VBLOCK SYSTEMS
VCE VBLOCK SYSTEMSVCE VBLOCK SYSTEMS
VCE VBLOCK SYSTEMS
 
eDevOps in HPSW from buzzword to reality
eDevOps in HPSW from buzzword to realityeDevOps in HPSW from buzzword to reality
eDevOps in HPSW from buzzword to reality
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...
 
Monitoring of Web Applications and GlassFish for Performance and Availability...
Monitoring of Web Applications and GlassFish for Performance and Availability...Monitoring of Web Applications and GlassFish for Performance and Availability...
Monitoring of Web Applications and GlassFish for Performance and Availability...
 
Getting Demo & POV Ready
Getting Demo & POV ReadyGetting Demo & POV Ready
Getting Demo & POV Ready
 
How to plug the data gap in DevOps
How to plug the data gap in DevOpsHow to plug the data gap in DevOps
How to plug the data gap in DevOps
 
How to plug the data gap in DevOps
How to plug the data gap in DevOpsHow to plug the data gap in DevOps
How to plug the data gap in DevOps
 
Remote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needsRemote DBA Service: Powering your DBA needs
Remote DBA Service: Powering your DBA needs
 
DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
 
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
Windows Server 2003 EOS : l'opportunité de repenser votre IT et mettre en pla...
 
"What If" Analysis: How to Develop Corporate Muscle Memory with IBP
"What If" Analysis: How to Develop Corporate Muscle Memory with IBP"What If" Analysis: How to Develop Corporate Muscle Memory with IBP
"What If" Analysis: How to Develop Corporate Muscle Memory with IBP
 
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for
Network Performance Monitor (NPM) 10.4: New Features, Tips and Tricks for
 
Big data and social media, BAE Systems Detica
Big data and social media, BAE Systems DeticaBig data and social media, BAE Systems Detica
Big data and social media, BAE Systems Detica
 
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...
The Business Case for Cloud: Critical Legal, Business, & Diligence Considerat...
 
Getting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of ConceptsGetting Started with ThousandEyes Proof of Concepts
Getting Started with ThousandEyes Proof of Concepts
 
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBCUsing SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
Using SAP Crystal Reports as a Linked (Open) Data Front-End via ODBC
 
Mary Ann Redd CCNA2015
Mary Ann Redd CCNA2015Mary Ann Redd CCNA2015
Mary Ann Redd CCNA2015
 

Último

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Último (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Breaking Microsoft Dynamics Great Plains

  • 1. Dave Keene, CISSP, MCT, MCITP, VCP, C|EH Chief Security Officer Texas Association of Counties 1
  • 2. Overview  About Me  What is Great Plains and why should I care  Examine the security flaws and solutions in the following areas  Application  SQL  Installation  Attacking GP for penetration testing  Summary  Additional Resources © Dave Keene 2012. All rights reserved 2
  • 3. About Me  Information Security for 8 years  IT work for 14 years  Worked with Great Plains (GP) since 2000  Spent the last two years testing GP installs in a lab environment, support production installations  Manage network and security practice that provides IT support to the 254 counties in Texas © Dave Keene 2012. All rights reserved 3
  • 4. What is Microsoft Dynamics and Great Plains?  Dynamics - ERP family from Microsoft  Great Plains has 42,000 customers worldwide  Accounting system, but additional uses are:  Sales  Manufacturing  HR/Payroll  Inventory © Dave Keene 2012. All rights reserved 4
  • 5. Typical installation © Dave Keene 2012. All rights reserved 5
  • 6. © Dave Keene 2012. All rights reserved 6
  • 7. There is a lot of good data in GP © Dave Keene 2012. All rights reserved 7
  • 8. There is a lot of good data in GP © Dave Keene 2012. All rights reserved 8
  • 9. There is a lot of good data in GP © Dave Keene 2012. All rights reserved 9
  • 10. There is a lot of good data in GP © Dave Keene 2012. All rights reserved 10
  • 11. What be done with this data? What could happen: Compliance problems?  Identity theft  PII  Bank fraud  PHI / HIPPA  Social Engineering  PCI DSS  Electronic Funds  Just to name a few… Transfers © Dave Keene 2012. All rights reserved 11
  • 12. Application Problems and Solutions © Dave Keene 2012. All rights reserved 12
  • 13. GP Application problems  No master security between different “company” databases  No default enforcement of password policy  No default built in security auditing  Routine upgrades cause security problems  Common file shares, code injection  Fat client install is on shared folder; requires local admin © Dave Keene 2012. All rights reserved 13
  • 14. GP Application Solutions  Use third party solutions for  Combining security between companies  Active Directory integration  Auditing  Engage Microsoft Partners to plan upgrades*  Common files – Use NTFS security for GP users only  Allow full access to GP program files © Dave Keene 2012. All rights reserved 14
  • 15. Inherent problems with GP SQL installation and how to fix them © Dave Keene 2012. All rights reserved 15
  • 16. GP SQL installation problems  GP on separate SQL instance in native mode  SQL level security – no Windows authentication  ODBC ports hard coded into application  DYNSA account privilege level © Dave Keene 2012. All rights reserved 16
  • 17. GP SQL installation solutions  Harden SQL instance  Force password policy © Dave Keene 2012. All rights reserved 17
  • 18. © Dave Keene 2012. All rights reserved 18
  • 19. GP SQL installation solutions  Harden SQL instance  Force password policy  Hide the SQL instance © Dave Keene 2012. All rights reserved 19
  • 20. © Dave Keene 2012. All rights reserved 20
  • 21. GP SQL installation solutions  Harden SQL instance  Force password policy  Hide the SQL instance  DYNSA – configure using documentation © Dave Keene 2012. All rights reserved 21
  • 22. Installer Errors / Lack of Experience © Dave Keene 2012. All rights reserved 22
  • 23. Installer error/lack of experience  GP sold and installed through partner  Business analyst installing software?  Due to the lack of security, you MUST use a third party application the fill in the gaps  Install uses privileged service account and SA © Dave Keene 2012. All rights reserved 23
  • 24. Installer Solutions  Partner you choose is well versed in SQL and GP  Find user group recommendations - GPUG  Third party vendors to secure GP  Disable SA account after install  Change service account to least privilege © Dave Keene 2012. All rights reserved 24
  • 25. Penetration Testing Against Great Plains © Dave Keene 2012. All rights reserved 25
  • 26. Performing Reconnaissance  Passive information gathering:  Website – CFO / Accounting / Finance  Website – portals that use GP © Dave Keene 2012. All rights reserved 26
  • 27. Performing Reconnaissance © Dave Keene 2012. All rights reserved 27
  • 28. Performing Reconnaissance  Passive information gathering:  Website – CFO / Accounting / Finance  Website – portals that use GP  Make some phone calls  Software purchasing agent  Head of finance © Dave Keene 2012. All rights reserved 28
  • 29. Scanning and Enumeration  Find out if GP is running in the environment using sqlninja or…  nmap -n -v -sC --script=broadcast-ms-sql-discover.nse  SQL server Management Studio  Data Sources (ODBC) in Windows © Dave Keene 2012. All rights reserved 29
  • 30. Gaining Access  Use sqlninja, sqlmap, to test for SA  Use sqlbrute and sqldict  Administrative share – fat client install  Last but not least… © Dave Keene 2012. All rights reserved 30
  • 31. Dex.ini  Workstation=WINDOWS  Pathname=DYNAMICS/dbo/  BuildSQLMessages=FALSE  SQLLastDataSource=Dynamics GP 2010  LastYearEndUpdate=11/17/2011  LastTaxCodeUpdate=01/20/2012  Dictionary Version=11.00.1935  ShowDebugMessages=FALSE  AutoInstallChunks=TRUE © Dave Keene 2012. All rights reserved 31
  • 32. Summary © Dave Keene 2012. All rights reserved 32
  • 33. Summary  Security defects found in GP and possible solutions  Application  SQL  Installation  Penetration testing against GP © Dave Keene 2012. All rights reserved 33
  • 34. Additional Resources  Contact me for more information on:  Dexterity development system  Great Plains SDK  GP Support Tool  GP install and troubleshooting guides dave@davekeene.com © Dave Keene 2012. All rights reserved 34
  • 35. Additional Resources  Hardening guide for Dynamics AX – none published (yet) for GP http://www.microsoft.com/en-us/download/details.aspx?id=232  SQL 2008 Security Best Practices http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=15289  Configure DYNSA account http://jpdavey.blogspot.com/2011/05/sa-dynsa-and-poweruser-in-dynamics-gp.html  Great Plains User Group http://www.gpug.com/ dave@davekeene.com © Dave Keene 2012. All rights reserved 35
  • 36. Questions? Comments? Dave Keene dave@davekeene.com @surferdave71 http://www.slideshare.net/surferdave71/breaking- microsoft-dynamics-great-plains © Dave Keene 2012. All rights reserved 36

Notas del editor

  1. Hello!Can everyone hear me?
  2. Make this slide showing more authority, bold, better resume. Number of years supporting GP. Technical testing experience.
  3. Dynamics is the business name Microsoft uses for various products they have purchased throughout the years for enterprise resource planning. They are basically accounting packages with various levels of complexity. GP was a product acquired in 2000 from Microsoft as a mid-market ERP. Combine these slides, dump the other products. GP is a part of the dynamics suiteWhat it does, who uses it, market penetration. Tell the background story, then lead to the security flaws. This presentation is to review some of the
  4. Definition of data based on classificationWhat protection must be in place for GP based on compliance requirements? Disclosure?
  5. Definition of data based on classificationWhat protection must be in place for GP based on compliance requirements? Disclosure?
  6. Definition of data based on classificationWhat protection must be in place for GP based on compliance requirements? Disclosure?
  7. Definition of data based on classificationWhat protection must be in place for GP based on compliance requirements? Disclosure?
  8. The Payment Card Industry Data Security Standard (PCI DSS) is an information security standard for organizations that handle cardholder information for the major debit, credit, prepaid, e-purse, ATM, and POS cards.Defined by the Payment Card Industry Security Standards Council, the standard was created to increase controls around cardholder data to reduce credit card fraud via its exposure. Validation of compliance is done annually — by an external Qualified Security Assessor (QSA) for organizations handling large volumes of transactions, or by Self-Assessment Questionnaire (SAQ) for companies handling smaller volumes.[1]Personally Identifiable Information (PII), as used in information security, is information that can be used to uniquely identify, contact, or locate a single person or can be used with other sources to uniquely identify a single individual. The abbreviation PII is widely accepted, but the phrase it abbreviates has four common variants based on personal, personally, identifiable, and identifying. Not all are equivalent, and for legal purposes the effective definitions vary depending on the jurisdiction and the purposes for which the term is being used.Personal health information (PHI), also referred to as protected health information, generally refers to demographic information, medical history, test and laboratory results, insurance information and other data that is collected by a health care professional to identify an individual and determine appropriate care.
  9. Our company’s GP administrator is also the head of HR, lets call her Martha. She is a very talented person when it comes to manipulating GP and training the other users. She has a long history of working with accounting principals, and understands the business processes. We have had GP in our company longer than I have been with the company, about 14 years. When I came on board, I was asked to help support this software. These are some of the problems I found with our installation and how I corrected them.
  10. Each company has a completely different set of security rules within the application, making security administration tedious if done correctly. This can lead to a lazy security policy.Once GP is purchased from a partner, the company can opt (most of the time) to have the partner install the software (more on that later). But in a couple of cases the company started using GP years ago and simply did in place upgrades of the product. Version 9 to Version 10 made significant security changes, but may not have been implemented by onsite IT staff doing in in place upgrade. The product installs using the SA account and creates another user called DYNSA. This user is given privileges in SQL to create additional users in GP. There is no native support for windows or AD auth, or single sign on. Which leads us to…No password policy or enforcement. We all realize the problem here, no complexity or ability to force users to routinely change their passwords. In several cases, I have found the SA password to be “DynamicS” and in one case “cat”The GP application has an auditing feature to track changes within the application for GP users. The problem lies with power users; they bypass the security matrix altogether. No changes made by SA are tracked, and nothing is audited at the SQL level.GP uses dexterity runtime components to keep settings that are shared between users. Not only are these files shared, they could be used in theory to inject code into the software. An example is the software debugging tool provided to Microsoft partners. It is a code chunk that is simply dropped into a file and integrated without user intervention next time GP is launched.
  11. The problems I found with the SQL side of the installation were almost as shocking as they were with the application side. Since the only person that has been administering the software was a HR person, SQL was overlooked. Here are some obvious problmes that I have noticed with the SQL portion of GP and some of the things I did to fix them.
  12. Usually companies may employ a DBA to handle these things, but in a couple of installs I found the DBA created the instance and then the SA password was changed to prevent the DBA from having the “keys to the kingdom” with all the information within GP. This of course means the application owner would be responsible for securing the DB as well as all of the maintenance jobs that are required to setup. This next one may be something obscure, but I like to have the ability to change my ODBC ports to something a little less obvious to a sniffer and turn of SQL discovery. It may be security through obscurity, but I like the option.Microsoft has been working on this for a while, but they have not been able to correctly assign permissions to the DYNSA user to allow updates to tax law, finance changes, etc. The SA account has to be used for maintenance.We confirmed 7/20 that DYNSA can change user passwords and unlock accounts but it cannot add users to company databases or run updates.
  13. Now comes the best part of all. Martha and I have been working for years together and have supported the application and worked out all of the security and application kinks. Then our executive management decided to change the chart of accounts and the way we do business. They hired a partner to install a new instance of GP, here is the story.
  14. On several occasions, we had the person who was designing the chart of accounts, reports, etc. install the software using the next, next, finished method. Several times, the installer had full control of the SQL install as well without using any secure installation parameters.Microsoft has several vendors, called Independent Solution Vendors (ISV) that are allow access to the API to develop third party tools. These developers have products to allow single sign on, AD integration, etc. Plan on spending a lot more money to secure this product that what Microsoft gives you out of the boxMost installs any of use do are usually done with some type of privileged account, domain admin or local admin on the server. The problem with the GP service account is it needs to have domain admin rights or at least local admin rights to any server that touches GP including the SQL server. Now to switch gears to how I pen tested
  15. Well, as you can tell everything we did prior to the new partner coming on board was unravelled. I took it upon myself to inspect the installation and report on what the problems were, as if I was on the outside looking in. Here is the basis for my findings, using a systematic approach to review security.
  16. Bumper slide
  17. So in the end what was the result? We fired the new partner that had been hired due to the lack of experience with installing and configuring GP. A new partner was vetted, hired on, and I closely watched the installation process proceed. Many of the problems with the application, SQL, and installer errors were avoided. Still, there are many weaknesses even when everything has been installed correctly.