Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Code scanners recommendations

Code scanners recommendations

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiosecurityquestion
14 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nathan Minier

    So there really aren't static code analysis tools that I know of that will really do what you're asking, as most OWASP vulnerabilities are based on a running configuration. The freeware that I'd recommend for someone that isn't familiar wil security scanning is the OWASP utility ZAP: [OWASP Zed Attack Proxy Project - OWASP](https://www.owasp.org/index.php/OWASP\_Zed\_Attack\_Proxy\_Project) There are, of course, other utilities, but if you have access to security professionals that are accustomed to running vulnerability scans, I would highly suggest making use of their expertise. If not, ZAP is definitely better than nothing, but needs to be run against an operating site. You can use it against a site running on IISExpress on your local machine.

    "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

    Z Offline
    Z Offline
    ZurdoDev
    wrote on last edited by
    #4

    I see. So, maybe OWASP is not the right term for what I need. I'll look into static code analysis. Thanks.

    Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

    N 1 Reply Last reply
    0
    • Z ZurdoDev

      I see. So, maybe OWASP is not the right term for what I need. I'll look into static code analysis. Thanks.

      Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

      N Offline
      N Offline
      Nathan Minier
      wrote on last edited by
      #5

      No, that's correct. OWASP is the organization that is dedicated to web security, and their top 10 are based on the most common vulnerabilities seen in the wild. The problem is that, generally, vulnerabilities can be difficult to identify from static (not currently executing) code. Some are obvious, like SQL injection, but most are not so easy to identify unless an application is actively executing, like MitM attacks or exploits that are based on malformed packets. You won't see these until they are used against your application, which is exactly what ZAP does.

      "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

      Z 1 Reply Last reply
      0
      • L Lost User

        1. post a question on Q&A 2. post your code as a reply many people will scan, critique and perhaps even improve it. 100% free.

        This internet thing is amazing! Letting people use it: worst idea ever!

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #6

        If you post it as a solution at SO, you will get a whole load more critique! (Though most of it will be from people who know a lot less than the OP does, I suspect)

        Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        G 1 Reply Last reply
        0
        • N Nathan Minier

          No, that's correct. OWASP is the organization that is dedicated to web security, and their top 10 are based on the most common vulnerabilities seen in the wild. The problem is that, generally, vulnerabilities can be difficult to identify from static (not currently executing) code. Some are obvious, like SQL injection, but most are not so easy to identify unless an application is actively executing, like MitM attacks or exploits that are based on malformed packets. You won't see these until they are used against your application, which is exactly what ZAP does.

          "Never attribute to malice that which can be explained by stupidity." - Hanlon's Razor

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #7

          Got it. That makes sense. Thanks. Very helpful.:thumbsup:

          Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

          1 Reply Last reply
          0
          • Z ZurdoDev

            Any recommendations on code scanners that check for security vulnerabilities? In particular the Top 10 OWASP vulnerabilities? I have never used one before so I'm not even sure what I'm looking for. Something that can scan code, preferably in Visual Studio, and can find security vulnerabilities. Any experience you can share would be helpful. Thanks.

            Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

            C Offline
            C Offline
            Chris Losinger
            wrote on last edited by
            #8

            something like Black Duck? Open Source Security & License Compliance | Black Duck Software[^]

            image processing toolkits | batch image processing

            Z 1 Reply Last reply
            0
            • C Chris Losinger

              something like Black Duck? Open Source Security & License Compliance | Black Duck Software[^]

              image processing toolkits | batch image processing

              Z Offline
              Z Offline
              ZurdoDev
              wrote on last edited by
              #9

              It looks like Black Duck helps you manage which Open Source projects you are using in your code. I didn't see anything that said it can scan your own code looking for issues. Perhaps I missed it?

              Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

              C 1 Reply Last reply
              0
              • Z ZurdoDev

                Any recommendations on code scanners that check for security vulnerabilities? In particular the Top 10 OWASP vulnerabilities? I have never used one before so I'm not even sure what I'm looking for. Something that can scan code, preferably in Visual Studio, and can find security vulnerabilities. Any experience you can share would be helpful. Thanks.

                Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                abmvA Offline
                abmvA Offline
                abmv
                wrote on last edited by
                #10

                did u check microsoft tools SDL Tools[^] and Coverity Scan Static Analysis[^] / Coverity - Wikipedia[^]

                Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                We are in the beginning of a mass extinction. - Greta Thunberg

                1 Reply Last reply
                0
                • Z ZurdoDev

                  It looks like Black Duck helps you manage which Open Source projects you are using in your code. I didn't see anything that said it can scan your own code looking for issues. Perhaps I missed it?

                  Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                  C Offline
                  C Offline
                  Chris Losinger
                  wrote on last edited by
                  #11

                  we use AppScan and Klocwork, for our static scans.

                  image processing toolkits | batch image processing

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    If you post it as a solution at SO, you will get a whole load more critique! (Though most of it will be from people who know a lot less than the OP does, I suspect)

                    Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    G Offline
                    G Offline
                    GKP1992
                    wrote on last edited by
                    #12

                    I see what you did there. ;P

                    I am not the one who knocks. I never knock. In fact, I hate knocking.

                    1 Reply Last reply
                    0
                    • Z ZurdoDev

                      Any recommendations on code scanners that check for security vulnerabilities? In particular the Top 10 OWASP vulnerabilities? I have never used one before so I'm not even sure what I'm looking for. Something that can scan code, preferably in Visual Studio, and can find security vulnerabilities. Any experience you can share would be helpful. Thanks.

                      Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                      E Offline
                      E Offline
                      Eric W Scott
                      wrote on last edited by
                      #13

                      If you're using .NET, for static analysis you can take a look at PumaScan[^] or Security Code Scan[^]. Both are open source. Security Code Scan has better support for .NET Core. OWASP maintains a list of code analysis tools here[^].

                      Z 1 Reply Last reply
                      0
                      • E Eric W Scott

                        If you're using .NET, for static analysis you can take a look at PumaScan[^] or Security Code Scan[^]. Both are open source. Security Code Scan has better support for .NET Core. OWASP maintains a list of code analysis tools here[^].

                        Z Offline
                        Z Offline
                        ZurdoDev
                        wrote on last edited by
                        #14

                        Thanks. :thumbsup:

                        Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups