<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Skyrise - Medium]]></title>
        <description><![CDATA[Our selected toughts about technology, business, innovation and more. Information about us on skyrise.tech. Any questions or ideas — say hi@skyrise.tech ;) - Medium]]></description>
        <link>https://medium.com/skyrise?source=rss----3afd978c25c0---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Skyrise - Medium</title>
            <link>https://medium.com/skyrise?source=rss----3afd978c25c0---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:28:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/skyrise" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to manage your budget in agile it projects? Part 2]]></title>
            <link>https://medium.com/skyrise/how-to-manage-your-budget-in-agile-it-projects-part-2-dece2eb993b?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/dece2eb993b</guid>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[budgeting]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Przemysław Machlowski]]></dc:creator>
            <pubDate>Wed, 10 Jul 2019 10:55:59 GMT</pubDate>
            <atom:updated>2019-07-16T06:40:41.657Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to manage your budget in Agile IT projects? Part 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhshupIDYceXyz7lQY_rgw.png" /></figure><p>In the <a href="https://medium.com/skyrise/how-to-manage-your-budget-in-agile-it-projects-part-1-2a50477bf8d3">previous section of the article</a> we explained the biggest issues with fixed-price/fixed-scope projects. To be completely honest, we don’t believe that it is necessary to avoid such agreements at all costs. There are some situations where it is the perfect solution (e.g. in cases with small well defined changes or changes satisfying only one need — such as law compliance). In most cases though, putting the project in a fixed frame will put you at risk of failure.</p><p><strong>In this part we want to shed some light on how to deal with your budget during agile projects.</strong></p><p>First of all, think for a second about how you manage a budget in real life. Let’s say you want to go on vacation. You can of course contact a travel agency, stating all of your requirements for your trip, but the valuation you will get in response can blow you away. You can of course do a lot of things (save up money for a long time, get an extra job, etc.) to make all of your travel dreams come true. However, usually you have a limited budget and you want to make the most of it. So you start to prioritize and think of the things that are most important for you. For some people the most important thing will be the destination, for someone else — the standard of accomodation. Some will appreciate historical heritage while others will value the bar service on the beach. You choose what is most important to you and try to find the offer that fits best within the budget you have. If you travel with other people (eg. family or friends) — you have to include their needs, even at the price of compromising on some of your own. To summarize — you adjust the requirements to the budget you have, trying to maximize the value you’ll get. The same mechanism is applied in other aspects of life (eg. buying a car, buying a flat, or building a house). The only difference for an IT project is that it’s usually not something off-the-shelf. The value provided by a project needs to be built over time.</p><p>This leads to the question of how to approach it?</p><p>You can start by asking your provider ”How much would it take to implement the system and fulfil all the requirements I have” — it’s always good to know if what you’re asking for is far more expensive than you expected :) But don’t worry as that doesn’t necessarily mean that you (and others that have some interest in the system) can’t achieve the goals within the budget you have (the same as when planning your vacation).</p><p>The secret of managing the scope in Agile projects and thus the budget is prioritization. If you build your system in a way that it provides value incrementally, starting from fulfilling the most important needs, there is a great chance that you will provide crucial values before your budget runs out. To simplify — if you divide your work into small increments and you start by implementing crucial things and your budget runs out after 20 iterations — even if you haven’t implemented everything you wanted in the first place — you maximized the value provided by the project within the budget you had.</p><p>Is it simple ? No. Is it necessary to succeed ? Yes. Even if your budget is huge, without appropriate planning for value delivery, there is a good chance that you will fail.</p><p>Now, how to approach the settlement of such a project with the supplier ? Let us present some of the most popular solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YlE83zmNNeUG_H2nYNTk7Q.png" /></figure><h3><strong>Time&amp;Material</strong></h3><p>This is the most popular way of settlement within Agile projects. The client agrees to pay for the time and materials used to complete the project. Time cost is based on a provider time unit rate (usually hour or day). Materials are all of the costs incurred by the provider (such as software licences, bought images, etc.) during the project.</p><p>Although this offers a lot of advantages — it also has some pitfalls that can negatively affect a project.</p><p><strong>Advantages:</strong></p><ol><li>Gives the client full control over the project,</li><li>Allows the focus of the team to change swiftly,</li><li>Usually allows the size and the competences of the team to be adjusted,</li><li>Gives the client the possibility to influence the project direction at any time,</li><li>It doesn’t require detailed specification to be created up-front,</li><li>It allows better quality to be achieved, since the team is usually given greater autonomy in selecting solutions,</li><li>Usually it allows a faster start and thus delivers faster because there is no need for negotiations over the offer(s),</li><li>Provider rates are more beneficial for the client compared to the rates for any fixed price offers, because the provider doesn’t have to calculate the risk,</li></ol><p><strong>Pitfalls:</strong></p><ol><li>It requires mutual trust between the provider and the client. Without it — it may lead to communication problems and mutual accusations and the result of that is a less than happy end to the cooperation,</li><li>The entire financial risk is put on the client,</li><li>Probably the biggest problem of T&amp;M agreement is that providers use it as an excuse for not estimating and planning any changes, which leads to a lack of budget control and thus decreases budget usage optimization,</li><li>Without appropriate effort put into the control/supervision of a process, a lot of space for scope creep and overengineered solutions.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkGe1YkVLOtetOcSVNKhYA.png" /></figure><h3><strong>Sprint based settlement</strong></h3><p>If you have already started to work on prioritization (by yourself or with your provider), then you know what you want to do in the next period of time (sprint). If you know that — it is possible to attach a valuation to it and do it in a fixed-price deal. There are 2 ways of approaching fixed price sprints:</p><ol><li>A fixed team working on a project and fixed price for a sprint (e.g. 2 weeks). With that in place, you need to agree with the provider what the sprint deliveries will be (what work will be performed by that team within the sprint?). In this case — the cost of every sprint is the same and you negotiate the scope of the sprint,</li><li>Determine the work that should be performed within the sprint, then select the team that is suitable for the job and calculate a price for the sprint. In this case, the cost of the sprint may vary.</li></ol><p>The first solution gives some predictability of the costs at the expense of flexibility (please note that the work that brings value does not have to always be performed by developers writing code). The second solution provides much greater flexibility in planning, but also requires much greater flexibility from the provider regarding the people dedicated to the project (which can become an impediment).</p><p><strong>Advantages:</strong></p><ol><li>It incentivises the prioritization of the work in a way so that it provides value within short periods of time,</li><li>Financial risk is somewhat divided between the client and the provider (the provider commits to delivering what was agreed within the sprint at the agreed price),</li><li>Provides better budget predictability than T&amp;M.</li></ol><p><strong>Pitfalls:</strong></p><ol><li>It requires more attention as the work must be divided into sprints and negotiations about the scope of the sprint must take place,</li><li>It may negatively affect the quality of the solution since every sprint is implemented within a fixed scope,</li><li>It doesn’t offer as much flexibility as T&amp;M — work planned for a sprint should not be changed during the sprint.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QE0IafZBDvBjchKL2IzWbw.png" /></figure><h3><strong>Feature based settlement</strong></h3><p>Another way of organizing the settlements within the project is to arrange a fixed price for a particular feature. If you have decided about the priorities — you can ask the provider to provide you with offers for consecutive features that will be implemented. Based on the offer you can agree on a fixed price/fixed scope for this particular feature. The important thing is to do it incrementally as the project goes on. That way you will give youself room for maneuveur and the ability to change the priorities when needed. Otherwise it’ll become a fixed-price/fixed scope agreement for the project with all its disadvantages.</p><p><strong>Advantages:</strong></p><ol><li>Predactibility of cost,</li><li>Offers delivered by the provider may allow the priorities to be adjusted, if it appears that the value to cost ratio is not good enough,</li><li>Financial risk is divided between the client and the provider (the provider commits to delivering what was agreed on at the agreed price).</li></ol><p><strong>Pitfalls:</strong></p><ol><li>Requires more attention and effort during planning, work must be divided into features and negotiations over the scope/price of each feature,</li><li>There is a risk that the method will shift the project’s focus towards providing the features, not providing the values,</li><li>It may negatively affect the quality of the solution since every feature is implemented within a fixed scope,</li><li>It doesn’t offer as much flexibility as T&amp;M — work planned for functionality cannot be changed.</li></ol><h3><strong>Choose the best one</strong></h3><p>Which of the above is the best ? Well, as usual, it depends on the situation. We successfully use all of them. In some cases we have even mixed them together (for example: sprint based settlements for the research phase of the project and when we have earned the trust of the client — implemenation in T&amp;M). The most important thing is to understand and remember that the project should maximise the value within the planned budget and time; the appropriate method should be selected to make this possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dece2eb993b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/how-to-manage-your-budget-in-agile-it-projects-part-2-dece2eb993b">How to manage your budget in agile it projects? Part 2</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to manage your budget in agile it projects? Part 1]]></title>
            <link>https://medium.com/skyrise/how-to-manage-your-budget-in-agile-it-projects-part-1-2a50477bf8d3?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/2a50477bf8d3</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[planning]]></category>
            <category><![CDATA[budgeting-app]]></category>
            <category><![CDATA[budgeting-and-planning]]></category>
            <dc:creator><![CDATA[Przemysław Machlowski]]></dc:creator>
            <pubDate>Tue, 07 May 2019 14:27:59 GMT</pubDate>
            <atom:updated>2019-07-11T06:53:40.805Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to manage your budget in Agile IT projects? Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cPDIVMAfvXq4dfDTQrqRhw.png" /></figure><p>“Creating superb software makes the world a better place” — when hearing this phrase, how many times have you asked yourself: What went wrong? Do you recall dozens of emails exchanged with the project manager, exceeded project budgets or a badly managed team in which there were no developers at a key moment?</p><p>Welcome to the club: we’ve all been there. So why is it that similar scenarios are repeated all the time and it’s difficult to find an effective and experienced software house? We have analyzed our own history of collaboration and made a sincere retrospective; we’ve taken into account many factors affecting client and subcontractor cooperation, and we have drawn conclusions — now we want to share them with you.</p><p>We are beginning the series ‘Honestly about IT’.</p><p>We will talk about the most common challenges faced by a client looking for a software development company.</p><p>Our first topic is the issue of budgeting Agile-based projects. It is commonly believed that all (or at least most) of the budgetary risk in Agile-based projects must be taken on by the client. We want to dispel this myth and show that also in Agile projects it is possible to control the budget.</p><p>Read on!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fj06480m3Gt1q5CrAF4rMA.png" /></figure><p>In order to implement a project, one has to acquire funds and establish a budget. It is rarely unlimited — most often the client has a well-defined budget for product implementation. It is limited due to many unavoidable factors. Cooperation with investment funds, budget plans for subsequent years, the break-even point of a given product, market forecasts — even the most promising projects have a break-even point for profitability whose crossing makes their sense questionable. The manager must therefore manage the project in such a way as to achieve the business objective using the assigned resources.</p><p>When a client goes to a potential IT system provider, a certain “conflict of interest” emerges: the provider is reluctant to carry out the project within a fixed budget, and proposes work on the basis of “agile” methodologies and Time&amp;Material settlement. Why is it so? Let’s take a look into this.</p><h3><strong>“Fixed price” + “fixed scope” = trouble</strong></h3><p>Why are providers so reluctant to work on “fixed price” projects? There are several reasons, but two stand out:</p><ol><li>Most often the project description provided by the client is in fact only an outline. It may be difficult to believe, especially given that the client usually spends a lot of time elaborating their vision and describing the project. However, if one compares an IT project to the construction of a house, the description the client usually provides is so general that it is analogous to saying: I want to build a house that has windows in this place and doors in that place, a garage, rooms like this, and fulfils various functions. No contractor will undertake building such a house or even provide a valuation based on such a project. To some degree, this issue stems from the fact that most clients do not realize that designing the system involves more than writing a few pages of requirements. Not everyone is able to do the preparation. Without relevant experience, knowledge of tools, the specifics and complexity of IT projects, one cannot design an IT system (just as without appropriate knowledge, one cannot design a house).</li><li>Every contractor is aware that “change” in IT projects is not an exceptional situation. IT projects evolve over time. In the case of IT systems, it is unreasonable to assume that the accepted initial scope will not change over the course of project implementation. Moreover, experience shows that ignoring these changes can significantly reduce the chances of success (realization of business value). For example, say we have designed a project, and suddenly the letter of the law has changed, which requires significant modification of our project features. Should we implement the system according to the previously accepted plan? Or should we modify the plan so that the system is compliant with the law? The answer is simple. And this is only one of the thousands of situations that can affect the project’s scope.</li></ol><p>To put it simply: “In case of fixed price projects, the contractor agrees to implement at a certain price something that he knows very little about, and what he already knows may change in various ways”. Therefore, by agreeing to implement the project in a fixed price system, the contractor takes on a huge risk, which he naturally tries to avoid.</p><p>You may then say the following: “Fine, but such an agreement reduces the risk for the client”. This may be true if one considers only the budgetary aspects. However there is always a “but”… or like in this case, several of them.</p><p><strong>But…</strong></p><p>When estimating a fixed price project, the contractor usually assumes a huge security buffer in order to minimize the financial risk. In the end, the client may pay more for the system than if the same system was implemented on the basis of Time&amp;Material,</p><p><strong>But…</strong></p><p>Undertaking such a project most often begins with writing a minutely detailed system specification, which:</p><ul><li>is very costly and does not account for any changes,</li><li>prolongs the project implementation, as most often the contractor will not do any real work related to the system before accepting the specifications,</li><li>causes the contractor to cling to the specifications and reject any changes in the subsequent implementation stages (“We are very sorry, but unfortunately it is beyond the scope of the work”), which ultimately reduces business value or makes it impossible to achieve,</li></ul><p><strong>But…</strong></p><p>When budget/time problems arise, the quality of the solution is most likely to suffer. Additional features are prepared in the simplest way possible, often relying on far-reaching concessions, which at a later stage may, among other things:</p><ul><li>make it difficult or impossible to further develop the system,</li><li>lead to problems with the solution’s stability,</li><li>increase the solution’s maintenance costs,</li><li>decrease the usefulness of the solution (thus, its business value)</li></ul><p><strong>But…</strong></p><p>A communication barrier is built between the contractor and client. After all, good communication is essential for the project to succeed. Unfortunately, fixed price contracts often lead to parties not working together to achieve the project’s success, instead being divided into “you” and “us”. The contractor’s goal is to fulfil the contract at the lowest possible cost, not to deliver business value.</p><p>Using the language of negotiations — in case of fixed price contracts, the aim of the parties is not to achieve a win-win scenario, but to gain more than the other party. This means that in most cases, one of the parties is/feels harmed, reducing the chances of success or even making it impossible to achieve,</p><p><strong>But…</strong></p><p>Experience and statistics indicate that even projects with closed budgets are not without the risk of their being exceeded and failing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mdD05Edc4eCjalJUNOnSSA.png" /><figcaption>Source: <a href="https://www.standishgroup.com/sample_research_files/CHAOSReport2015-Final.pdf">https://www.standishgroup.com/sample_research_files/CHAOSReport2015-Final.pdf</a></figcaption></figure><h3>Why agile ?</h3><p>So, is there a way to mitigate or eliminate the risks described above? Can we provide value in a different, better way? Answers to these questions were probably the basis for creating Agile Manifesto.</p><p>If I had to characterize Agile in one sentence, I would say, that it’s the approach that focuses on providing the value instead of handling the processes of providing the value. Small, but meaningful difference.</p><p>What does the client gain by implementing a project based on agile methodologies? In order to answer this question, let’s consider the aims of the project. To put it bluntly, the client strives to achieve financial benefit. This may be achieved through sales, cost optimization, sometimes through increased customer satisfaction, etc. This aim can only be achieved if the project delivers the expected business value. If we have created a system that does not meet expectations and does not provide the desired value — we’ll only lose out on it.</p><p>Okay, but how does this relate to agile methodologies? Projects in their initial phase are largely based on assumptions. During the course of project implementation, they are more or less verified, and very often it turns out that they need to be modified. These modifications translate into changes in the project requirements and scope. Handling these changes in the traditional (cascade) approach to project management is very restricted. In agile methodologies, on the other hand, ability to react to changes is one of the main assumptions. Thanks to that, the project based on Agile has a bigger chance to provide a value and thus — to succeed. Naturally, this is not the only advantage of agile, but presenting all of them would require a separate article.</p><p>Does this mean that Agile is the only way to success? Definitely not. There is no silver bullet to make every project a success. Projects based on agile methodologies are also at risk of failure. However, mechanisms of agile methodologies (if applied correctly) allow one to increase the probability of success, as they increase the chances of delivering business value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aNH_hf_qi2nbJfsIVbRffw.png" /><figcaption>Source: <a href="https://www.standishgroup.com/sample_research_files/CHAOSReport2015-Final.pdf">https://www.standishgroup.com/sample_research_files/CHAOSReport2015-Final.pdf</a></figcaption></figure><p>The question then arises as to whether agile-based projects must always involve financial risk. Well, agile methodologies, contrary to the prevailing opinion, are not conducted outside of budget management and do not always have to be based on Time&amp;Material. So how can we approach them? We will try to answer this question in the next section of the article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a50477bf8d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/how-to-manage-your-budget-in-agile-it-projects-part-1-2a50477bf8d3">How to manage your budget in agile it projects? Part 1</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The difficult art of giving feedback]]></title>
            <link>https://medium.com/skyrise/the-difficult-art-of-giving-feedback-f4bf3aca1cee?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/f4bf3aca1cee</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[feedback]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[knowledge]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Marta Haida]]></dc:creator>
            <pubDate>Mon, 01 Apr 2019 10:00:22 GMT</pubDate>
            <atom:updated>2019-04-01T12:20:37.201Z</atom:updated>
            <content:encoded><![CDATA[<p>“I don’t like it. I would do it differently.” How often do you hear this? How many times have you had to defend your choices to other people? How many times have you as a developer heard that the code is ugly, and somebody could do it better? It happens to people who work in creative professions every day — devs, designers, inventors. A huge part of their work is giving and receiving feedback. The question is, what’s the best way to share your opinion with people who show you their work?</p><h3><strong>What’s productive feedback?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uuHruhxtPft8wGSoG2kJAQ.png" /></figure><p>The golden rule is simple — <strong>good feedback should allow the other person to make proper decisions, and changes as a consequence</strong>. It should be an analysis with advantages and disadvantages of the design based on our experience, design principles, and the problem which is to be solved. Comments like “I don’t like that,” or “I would do it differently. Wait, I’ll show you,” won’t help a lot, although don’t be offended if somebody tells you so. It’s just an opinion of the work, not you! Individual tastes always depend on the person.</p><p>We are not in the target group, we don’t know if our users have the same feelings as we do. Designers make decisions, but most of all they are based on specific knowledge and experience.</p><h3><strong>Different solutions may be equal</strong></h3><p>There are as many ideas as there are people. The same regards design. There are many solutions for one problem.</p><p>The important thing is to ask yourself if the project answers the user’s (design) problem, and if the design proposition fits the goal we are trying to achieve. So remember — <strong>find out what the goal behind somebody’s work is at the beginning, and keep it in mind when giving feedback! </strong>It’s like choosing clothes for a special dinner. Some men wear black suits, others choose dark blue or checkered.Women will choose shorter or long dresses. They are different outfits, but still meet the goal — they all have good clothes for a special occasion.</p><h3><strong>Don’ts</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uuOYBX120HigfgCIuH5cMA.png" /></figure><blockquote>· I just don’t like it</blockquote><blockquote>· Nice, but….</blockquote><blockquote>· I imagined it differently</blockquote><blockquote>· Can we make it green?</blockquote><blockquote>· Well, it doesn’t matter…</blockquote><p>Why are these so bad? Because they refer to personal preferences, not usability test results, design principles, conversion rates, facts, etc. A person who receives this kind of feedback feels attacked. Of course, you can say that if you tell somebody that you would do it another way, it is not criticizing.</p><h3><strong>Do’s</strong></h3><blockquote><strong>Make it regular</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkRhumR3_7WP4QtcmKxHow.png" /></figure><p>Don’t wait too long to give feedback. It’s better to discuss small parts of your work than a big bunch of different designs. It saves time for you and the other person.</p><blockquote><strong>Ask about reasons for decisions and remember the context and requirements</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vzlEiDxd8kvymsnqwXxnTA.png" /></figure><p>Remember the problem the other person was going to solve, and decide if the design solves it and makes the user’s life simpler.</p><blockquote><strong>Ask more, say less</strong></blockquote><p>Open questions are always better. They give the opportunity to explain the decisions behind the choices.</p><blockquote><strong>Limit yourself and don’t give feedback to everything you see — ask what the other person needs your opinion on</strong></blockquote><p>Give feedback to only a few issues. Otherwise somebody may feel that everything that he has done is being criticized and he wasted time doing so many things which still need to be improved.</p><blockquote><strong>Find and outline the good things</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7jKnmtWCh02uIkwAbychig.png" /></figure><p>Don’t forget about the advantages of the design you are giving feedback on. It’s easy to miss them and as a result give the design a different direction or lead to a redesign based on comments which refer to things which should be improved. Begin with positive feedback. The other person won’t feel that you notice only the things which need improvement.</p><blockquote><strong>Stay neutral and don’t let your emotions get carried away</strong></blockquote><p>Don’t ever let your emotions play first fiddle! If you really don’t like the design and you think it’s really horrible, just calm down, drink a cup of tea, meditate, or do some yoga — just don’t give the feedback when you feel you will explode with emotions. It always ends badly.</p><blockquote><strong>Note and prioritize</strong></blockquote><p>A good way to give feedback is to note all opinions on sticky notes (remember — one on one) and mark the most important ones. Use the “dots method” and rate what should be improved at the first glance.</p><blockquote><strong>Refer to your knowledge and experience, not emotions</strong></blockquote><p>Your knowledge and experience are your base. Be a specialist, a scientist who analyzes a specific case.</p><p>If you try to stick to all these rules, you will get rid of giving feedback based on your feelings. That’s the point, because giving feedback effectively isn’t criticizing and finding bad things.<strong> It should be finding a good side of the design, analyzing what may be improved, and finding a compromise.</strong></p><p><a href="https://www.skyrise.tech/blog/">Want to read more exciting tech, design and business articles? Visit Skyrise blog!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4bf3aca1cee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/the-difficult-art-of-giving-feedback-f4bf3aca1cee">The difficult art of giving feedback</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Myers Diff Algorithm and Kotlin Observable Properties]]></title>
            <link>https://medium.com/skyrise/the-myers-diff-algorithm-and-kotlin-observable-properties-69dfb18541b?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/69dfb18541b</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[kotlin]]></category>
            <dc:creator><![CDATA[Adrian Defus]]></dc:creator>
            <pubDate>Thu, 07 Feb 2019 12:30:28 GMT</pubDate>
            <atom:updated>2019-05-29T07:31:29.089Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Myers Diff Algorithm and Kotlin Observable Properties — how to connect them to make a developer’s life easier</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*btNcs57cIljHqbs3fAIMcA.jpeg" /></figure><p>Have a look at the animation below — it’s a group of multi-color elements moving between each other after the button is pressed. From the developer’s point of view they are placed inside the RecyclerView with proper Adapter and LayoutManager attached.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*85odb9s79Jio7Tp0ByqujA.gif" /><figcaption>Smooth movement between elements</figcaption></figure><p>When the new list is generated it replaces the old one and then the Adapter is notified about changes. If we don’t know anything about differences between lists we can use the <em>notifyDataSetChanged()</em> function to perform this notification, or if we have any more information, we can use additional notify-functions, like e.g. <em>notifyItemInserted(position: Int)</em>, <em>notifyItemMoved(fromPosition: Int, toPosition: Int)</em>, etc.</p><p>Now let’s take a look at the version control like Git, where we always see numerous differences in the code — some lines are inserted, others are deleted, and others are modified. Do you see the similarity between this behavior and notifying our Adapter? Have you ever wondered how those edited lines are calculated to find the best matching difference between old and new versions of a content?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*OhW9h2uzVLcuY35bjYS-kQ.png" /><figcaption>Modifications in a file tracked by a git version control</figcaption></figure><h4>Myers’ Diff Algorithm</h4><p>Let’s take two sequences of characters — the first of them will be the one already existing (old version), and the second one will be the “output” with some modifications made (new version).</p><pre><strong>S1 = C B A B A</strong></pre><pre><strong>S2 = A C A B B</strong></pre><p>Our goal is to calculate the best “difference” between them, which means finding a <strong>sequence of edits</strong> that will convert string <strong>S1</strong> into <strong>S2</strong>. We can achieve this by playing a simple game, so let’s draw a board.</p><p>First, we need to put our strings on the right places. String <strong>S1</strong> will be at the top of the board, and <strong>S2</strong> on the left side. If we draw vertical and horizontal lines, each starting between the characters of our strings, we will create our playground consisting of squares. Additionally, we need to mark each line with a number (starting from 0) to know our exact position during the game. For example, the point <strong>(2,4) </strong>tells us that we are at the intersection of the vertical line <strong>2 (x-axis)</strong> and the horizontal line <strong>4 (y-axis)</strong>. In our case, the board will look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*Z2LdJtzufHqmf1BYiwah_A.png" /><figcaption>Base Diff board</figcaption></figure><p>The next step is to create “special” squares with a diagonal line going from the top left to the bottom right. The “special” square is the one which has corresponding characters (the letters to the left and to the top of it are the same). Let’s draw all the diagonal lines on the board.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*XoRepUMwjao95mKnmdoHZA.png" /><figcaption>Diff board with ‘special’ squares</figcaption></figure><p>The main goal of our game is to find the shortest way from the top-left corner <strong>(0,0)</strong> to the bottom-right <strong>(5,5)</strong>. In each round we are allowed to move only by <strong>one step</strong> along the edge of the squares. If we reach the “special” point where the square’s diagonal starts, we can use it for free in the same step. Let’s start with round 0:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*v64LZmjHccSHtLgYEXhAlA.png" /><figcaption>Diff game (Round 0)</figcaption></figure><p>We place the point at <strong>(0,0)</strong>. From there we are able to move to the right <strong>(1,0)</strong> or to the bottom <strong>(0,1)</strong> with the additional free step to <strong>(1,2)</strong>. Let’s draw our path after the first round.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*fsbvJnso232tqUOp2PdH9Q.png" /><figcaption>Diff game (Round 1)</figcaption></figure><p>In round 2, we can take the following paths:</p><ul><li>From <strong>(1,0)</strong> to <strong>(1,1)</strong></li><li>From <strong>(1,0)</strong> by <strong>(2,0)</strong> to <strong>(3,1)</strong></li><li>From <strong>(1,2)</strong> by <strong>(1,3)</strong> to <strong>(2,4)</strong></li><li>From <strong>(1,2)</strong> by <strong>(2,2)</strong>, <strong>(3,3)</strong> to <strong>(4,4)</strong></li></ul><p>After round 2, the state on the board is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*RnF31QVt5g-Oq52zrKsC9g.png" /><figcaption>Diff game (Round 2)</figcaption></figure><p>Let’s now see the full visualization of all rounds. After reaching <strong>(5,5)</strong>, the paths that connect it with <strong>(0,0)</strong> are marked in green — there are two of them, so we will have two correct diff results in our game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*7I34koOfeyJFQjHTm5COSA.gif" /><figcaption>Diff game (whole visualization)</figcaption></figure><p>After having the correct paths, we can now use them to mark the differences between our strings. These are the rules that we have to follow:</p><ul><li>Every <strong>vertical move</strong> is considered <strong>inserting</strong> the corresponding character into the square we are moving towards from the ‘new’ string (<strong>S2</strong>) — e.g. moving between <strong>(0,0)</strong> and <strong>(0,1)</strong> means inserting the ‘<strong>A</strong>’ character from <strong>S2</strong></li><li>Every <strong>horizontal move</strong> is considered <strong>deleting</strong> the corresponding character into the square we are moving towards from the ‘old’ string (<strong>S1</strong>) — e.g. moving between <strong>(0,0)</strong> and <strong>(1,0)</strong> means deleting the ‘<strong>C</strong>’ character from <strong>S1</strong></li><li>Every <strong>diagonal move</strong> is considered <strong>leaving</strong> the corresponding character in the square we are moving towards (remember that diagonals are placed in squares with <strong>the same corresponding letters</strong>)</li></ul><p>Let’s write the edit sequence for each of the correct paths (top green and bottom green).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*09kGbtsHRBSzxn_HwpeUJw.png" /></figure><p>As you can see, each Diff sequence consists of two insertions and two deletions, and <strong>both of them</strong> can be used to mark the<strong> right difference</strong> between our strings. Let’s skip the Myers algorithm implementation step (you can find it in countless sources on the internet), and let’s take a look at how to use it to improve Android applications written in the Kotlin language.</p><h4>DiffUtil</h4><p><a href="https://developer.android.com/reference/android/support/v7/util/DiffUtil">DiffUtil</a> is the Android utility class which is the implementation of the <strong>Myers Algorithm</strong> with an additional second run to detect whether specific items were moved. It automatically dispatches updates to the RecyclerView Adapter, so the list elements change smoothly according to the way they were actually updated.</p><p>Assuming that we have the RecyclerView.Adapter implementation with the list of <em>SampleItem</em> types, we can use the <strong>DiffUtil</strong> class to calculate the difference between the existing state of the list element and the one we’ve just received.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/85fc74ae3ab0215fc9a73f230660078e/href">https://medium.com/media/85fc74ae3ab0215fc9a73f230660078e/href</a></iframe><p>As you can see, there is no need to use any of the notify functions to update the view — we just have to <strong>specify the difference</strong> between the list elements by creating an object that implements the DiffUtil.Callback interface, dispatch the DiffResult to the adapter, and the DiffUtil will do all the work for us. Let’s create some modifications by using <strong>Kotlin-specific</strong> elements to receive the developer-friendly RecyclerView.Adapter tool.</p><h4>Kotlin extension functions and Delegated properties</h4><p>Kotlin provides the ability to extend a class with the new functionality without having to inherit from it — called the <a href="https://kotlinlang.org/docs/reference/extensions.html">extension function</a>. Let’s create a RecyclerView.Adapter extension function which will <strong>dispatch updates</strong> to the view for two lists passed as the function parameters (the old and the new one).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2dc17087a18959e6ed5609435ce5d260/href">https://medium.com/media/2dc17087a18959e6ed5609435ce5d260/href</a></iframe><p>Note that this list type has to implement the <em>DiffItem</em> interface, so the developer is <strong>able to indicate</strong> which elements of his custom class are specific to perform <strong>update operations</strong> properly.</p><p>After having the RecyclerView.Adapter extension function implemented, we can use another <strong>Kotlin-specific</strong> element —<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.properties/-observable-property/index.html"> observable property</a>. Observable property is a property with the delegated listener attached which gets notified about any modifications of its value.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c4956dead217121e7d5f60b44aff584/href">https://medium.com/media/2c4956dead217121e7d5f60b44aff584/href</a></iframe><p>Attaching the Observable delegate to our property will allow us to be <strong>notified about any changes</strong> of its value in <em>onChange()</em> function, which contains both the old and new values. We can use our <em>autoNotify()</em> adapter extension function within it, so right after the list modification is performed, the view will <strong>automatically be updated</strong>.</p><p>Although we have created a more developer-friendly implementation of the <em>DiffUtil</em> class, we still have to write all of these complicated elements of the code in order to attach our observable delegate and extension function. Let’s create the last modification — our custom <strong>adapter-item delegate extension</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/55beab9e11fba5f84bb4c88298f4f951/href">https://medium.com/media/55beab9e11fba5f84bb4c88298f4f951/href</a></iframe><p>Having the property of type <em>List&lt;DiffItem&gt;</em>, we can easily use our newly created delegate, and stop worrying about any additional unnecessary notify-function calls with quite friendly usage.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7bbbb16a109ef55ffa684d3c420b0006/href">https://medium.com/media/7bbbb16a109ef55ffa684d3c420b0006/href</a></iframe><p>And that’s it. You can download these extensions packed as an android library just by adding the line below to your <em>build.gradle</em> file. Happy coding!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0cb6123280fe471c85d789f773a9f21a/href">https://medium.com/media/0cb6123280fe471c85d789f773a9f21a/href</a></iframe><p>Want to read more exciting tech articles? Visit <a href="https://www.skyrise.tech/blog/category/tech/">skyrise.tech blog</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69dfb18541b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/the-myers-diff-algorithm-and-kotlin-observable-properties-69dfb18541b">The Myers Diff Algorithm and Kotlin Observable Properties</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android applications security — part 2]]></title>
            <link>https://medium.com/skyrise/android-applications-security-part-2-588ffb9d83ab?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/588ffb9d83ab</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Adrian Defus]]></dc:creator>
            <pubDate>Mon, 07 Jan 2019 13:19:57 GMT</pubDate>
            <atom:updated>2019-01-07T13:19:57.620Z</atom:updated>
            <content:encoded><![CDATA[<h3>Android applications security — part 2, client-server communication</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PtaW1RgnTQ6Uf5stGeMsMA.png" /></figure><p>Mobile applications commonly use resources containing some sensitive data stored in a backend service. To obtain them, not only our application (client) needs to query an endpoint, but it also has to authenticate itself, so the server knows who specifically needs this information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*B3IQ5g_WsRjwCqmn03LGhg.png" /><figcaption><em>App[client] querying backend</em></figcaption></figure><p>One of the methods of authentication is sending a client-specific key as a parameter directly in the url address, as an HTTP Header or in a POST body. However, <a href="https://medium.com/skyrise/android-applications-security-part-1-2782d73771e0">in the first part of this article </a>I showed that keys that are stored in the application are easily accessible after decompiling the .apk file of our application. Even if we use very complicated methods to hide our keys and use additional security, eg. check whether our application is debugged or if the ADB mode is active, the attacker can try to ‘sniff’ the connection which is established between the client and the server and read the token directly from the query — such a method is called the <strong>Man-in-the-Middle attack</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-mlORi2i8OrlU5ytlhKVA.png" /><figcaption>Basic client-server communication</figcaption></figure><h4>Man-in-the-Middle attack</h4><p>When the MitM attack is carried out, packets that should go directly between our application and the server are additionally intercepted by the third entity located between them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*2XqqoijsM8d-vsNPl9M4HQ.png" /><figcaption><em>Man-in-the-Middle attack</em></figcaption></figure><p>In the case of an Android system, the easiest way to perform this attack on applications installed on the device is to use the <strong>Packet Capture</strong> app. After it’s launched, all network traffic coming to/from the selected application is intercepted and logged. The screenshot below shows the captured packet from our sample application that queried the <strong>OpenWeatherMap API</strong> using a standard HTTP connection:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/270/1*wflKb3Vgzut6eRzQHt0SdQ.png" /><figcaption><em>HTTP query capture using the Packet Capture app</em></figcaption></figure><p>There are several methods we can use to protect our apps against this type of attack. The most common one is to establish a secure <strong>HTTPS connection</strong>. When you request an HTTPS connection to a server, it will initiate its SSL certificate to the client [app]. This certificate contains the public key required to begin the secure session. Based on this initial exchange, your app and the server then initiate the ‘SSL handshake’, which involves the generation of shared secrets to establish a unique secure connection between them.</p><p>One of the features of <strong>Packet Capture</strong> is the ability to install its own certificate, which it shows to the client if it tries to establish an https connection. Fortunately, Android <a href="https://developer.android.com/training/articles/security-ssl">has built-in security</a> that verifies whether the presented certificate is issued by a verified publisher. Thanks to it, when we try to catch packets using Packet Capture with its own certificate, the <strong><em>CertPathValidatorException</em></strong> will be thrown. Moreover, if our app had certificate pinning implemented and we somehow used a trusted certificate in the MitM attack, its SHA fingerprint wouldn’t have matched the one hard-coded in the application.</p><p>Is there any way to get around this security? Of course there is 😉. By using reverse engineering techniques, we can decompile our application and then inject the code supplying our implementation overwriting the method used to verify the certificates in the place where the client object is initialized, in such a way that all of them are accepted — this is called the <strong>all-trusting-client</strong>. The simplest way to achieve this is by using a class containing a static function, which requires only one line to be injected in the <em>.smali</em> file (to which our class has been decompiled).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/939b9b8ad034b7a689f9d77a521a1fb6/href">https://medium.com/media/939b9b8ad034b7a689f9d77a521a1fb6/href</a></iframe><p>Connecting Packet Capture into our rebuilt app leads to the successful capturing of the HTTPS query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*SCQqaQFtb-Ds6EpX35Th5w.png" /><figcaption><em>A successful (top) and unsuccessful (bottom) https query capture using the Packet Capture app</em></figcaption></figure><p>The thing worth noticing is that every modification in the source code of the application requires us to build <strong>a new APK file</strong> and sign it with our own certificate (it is not possible to install an unsigned application on Android). Therefore, we can consider an additional validation of the certificate at the NDK level (where our encrypted key is located) and if the application is signed with a different fingerprint, the native function will return an incorrect value, so the client verification will fail.</p><p>To bypass this check, the attacker can decompile the <em>native-lib.so</em> file to the assembly code and change the definition of the certificate validation function so that it always returns true — it requires more of his involvement, but of course it’s not impossible (below: the definition of an assembler x86 <em>checkCert()</em> function always returning true)</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d5daa0b2408f01f3dff9cfe7176de5fe/href">https://medium.com/media/d5daa0b2408f01f3dff9cfe7176de5fe/href</a></iframe><h4>Challenge-response</h4><p>Since we came to the conclusion that a token-only authentication of our application is insufficient, even with additional security against its visibility after the decompilation, we should consider adding another step — challenge-response.</p><p>Challenge-response is generally a family of protocols in which one party presents a question (“challenge”), while the other should provide a correct answer (“response”). In challenge-response authentication, the client, after sending the initial request to the server (usually containing a specific app key, although the third party can access it), gets a random challenge — some kind of data that should be calculated using some cryptographic hash functions, and then sends the response back to the server, which also performs the same calculation on its side. If the transferred value is verified correctly, it is very likely that the application is trusted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2Dx5gIIyiYsyY1o1FKJTw.png" /><figcaption><em>Challenge-response authentication with a separated resource server</em></figcaption></figure><h4>Salted Challenge Response Authentication Mechanism (SCRAM)</h4><p><a href="https://tools.ietf.org/html/rfc5802"><strong>SCRAM</strong></a><strong> </strong>is a method of secure authentication of both the client and the server, which greatly limits brute-force attacks compared to the standard challenge-response method, which doesn’t meet the requirements necessary for universal deployment and is successful only to a limited extent. Generally, the full <strong>SCRAM </strong>procedure consists of four messages:</p><p><strong>1: client first message →</strong> Hash (<em>client_id</em>, <em>client_nonce</em>)</p><ul><li><em>client_id</em> — the same key that we would send in the initial request for a standard challenge-response mechanism,</li><li><em>client_nonce </em>— randomly generated client hash.</li></ul><p><strong>2: server first message →</strong> Hash (“<em>${client_nonce}</em> + <em>{server_nonce}”</em>, <em>salt</em>, <em>iteration_count</em>)</p><ul><li><em>salt</em> — A random octet string that is combined with a password before applying a one-way encryption function [<em>Hi()</em>],</li><li><em>iteration_count</em> — iteration count used in [<em>Hi()</em>] function, usually at least 4096,</li><li><em>Hi() </em>— <a href="https://en.wikipedia.org/wiki/PBKDF2">Password-Base-Key-Derivation-Function 2</a> with <em>HMAC()</em> as a pseudorandom function, which generates a derivated key using [<em>iteration_count</em>] iterations</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ddca2c48e3125916a548fa9d76791c0/href">https://medium.com/media/3ddca2c48e3125916a548fa9d76791c0/href</a></iframe><p><strong>3: client final message</strong> → Hash (<em>client_server_nonce</em>, <em>client_proof</em>)</p><ul><li><em>client_proof</em> — <em>client_key</em> XOR <em>client_signature</em>,</li><li><em>client_key</em> — HMAC(<em>salted_password</em>, “Client Key”),</li><li><em>salted_password</em> — <em>Hi()</em> result,</li><li><em>client_signature</em> — HMAC(<em>stored_key</em>, <em>auth_message</em>),</li><li><em>stored_key</em> — Hash(<em>client_key</em>),</li><li><em>auth_message</em> — “<em>${client-first-message}</em>, <em>${server-first-message}</em>, <em>${client-final-message-without-proof}</em>”.</li></ul><p>4: <strong>server final message →</strong> Hash (<em>server_signature</em>, <em>session_token</em>)</p><ul><li><em>server_signature</em> — HMAC(<em>server_key</em>, <em>auth_message</em>),</li><li><em>server_key</em> — HMAC(<em>salted_password</em>, “Server Key”),</li><li><em>salted_password</em> — <em>Hi()</em> result,</li><li><em>auth_message</em> — “<em>${client-first-message}</em>, <em>${server-first-message}</em>, <em>${client-final-message-without-proof}</em>”.</li><li><em>session_token</em> — time-limited piece of data used in further communication to identify a session, which may be written as a <strong>JSON Web Token</strong>.</li></ul><h4>JSON Web Token</h4><p>A JSON Web Token (JWT) is a JSON object that is defined in <a href="https://tools.ietf.org/html/rfc7519">RCS 7519</a> as a safe way to represent a set of information between two parties. It is encrypted on the server side and only the server has the key to verify its authenticity. JWT is composed of three parts separated by dots:</p><pre>header.payload.signature</pre><p>The header component contains <strong>base64 encoded JSON</strong> information about how the signature should be computed:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/15a89481683ef3f72687e970652467ee/href">https://medium.com/media/15a89481683ef3f72687e970652467ee/href</a></iframe><p>“<em>typ</em>” communicates that the object is a JSON Web Token, and “<em>alg</em>” specifies the algorithm used to create a signature component.</p><p>Payload is simply the JSON data stored inside the JWT (referred to as the “claims”). In our example, the payload component contains the issuer_id<strong> </strong>“<em>iss</em>”, JWT issue time “<em>iat</em>”, and an expiration timestamp “<em>exp</em>”:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/51242012d1b7c1ca8a06f05a3edaec60/href">https://medium.com/media/51242012d1b7c1ca8a06f05a3edaec60/href</a></iframe><p>A signature component is generated using the algorithm defined in the header as both the header and payload (base64 encoded) with an additional secret included:</p><pre>HMACSHA256(base64Encode(header) + “.” + base64Encode(payload), secret)</pre><p>The main purpose of using JWT is <strong>not to hide data in any way</strong> — they’re just used to prove that the data was sent from an authentic source — an attacker <strong>cannot modify JWT claims</strong> without invalidating the signature. With basic access authentication, a simple session token is used to get the state stored in back-end, so if there are multiple services which can handle the client query, then accessing this state and synchronizing it between them can be a <strong>significant bottleneck</strong>. Thanks to JWT, the client is the side which maintains and provides the session state with every call, so the API protocol is stateless and each service is able to handle the request regardless of others.</p><h4>Summary</h4><p>Android mobile applications, due to their specificity and ease of access to the source code, require an appropriate security approach both in the storage of any sensitive data in them, as well as in the case of communication with servers. An attacker can use innumerable ways to steal our sensitive data and use it in an undesirable way, potentially exposing us to huge losses. Only the proper protection of all foreseeable areas exposed to attacks, and a good knowledge of the vulnerabilities of our applications can help us create a product that ensures the high security and integrity of our data.</p><p>Want to read more exciting tech articles? Visit <a href="https://www.skyrise.tech/blog/category/tech/">Skyrise blog</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=588ffb9d83ab" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/android-applications-security-part-2-588ffb9d83ab">Android applications security — part 2</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android applications security — part 1]]></title>
            <link>https://medium.com/skyrise/android-applications-security-part-1-2782d73771e0?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/2782d73771e0</guid>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[mobile]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[kotlin]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Adrian Defus]]></dc:creator>
            <pubDate>Thu, 03 Jan 2019 08:51:20 GMT</pubDate>
            <atom:updated>2019-01-23T12:18:55.409Z</atom:updated>
            <content:encoded><![CDATA[<h3>Android applications security — part 1, reverse engineering and token storage problems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hby38QvGJgPR-1dTLeudCw.png" /></figure><p>There are many ways you can store keys and tokens in your Android applications — directly in the code, inside your database or by using NDK layer. But in terms of security — should you do it at all?</p><p>This article will show you the most common ways you can use to store different types of keys and tokens in your Android applications, while proving that none of these methods is good enough 😉. The second part will contain more detailed considerations regarding how our application should communicate securely with the server, how to ensure the authentication of both entities, and how the attacker can affect our connection.</p><h4>Looking inside our applications (reverse engineering)</h4><p>The applications which we use on our devices are actually properly packed .apk files containing all the data required to operate correctly. If we want to view their content and see what is hidden there, we have to make some necessary preparations. First of all, we need a tool that will let us communicate with the mobile device using our computer — <a href="https://developer.android.com/studio/command-line/adb">Android Debug Bridge</a> is what we are looking for. Secondly if we want to disassemble our .apk files into separated source code files (.smali classes), <a href="https://ibotpeaches.github.io/Apktool/">Apktool</a> seems to be the perfect choice. Now you’re probably wondering what this “.smali” format is, so let’s get into some theory. When you create your application code, the .apk file contains a .dex file with a binary <strong>Dalvik bytecode</strong> inside, which is the format that the platform actually understands, but it’s horrible to read or edit. Fortunately, there are tools like the aforementioned Apktool that convert .dex files into (and from) a human readable representation — and the most common format is known as Smali.</p><p>So what are the steps we need to perform to look inside any application in our mobile device?</p><ul><li>Step 1: Print the names of the device packages (installed applications) with an associated base file using the <strong>Android Debug Bridge</strong> and command line:</li></ul><pre><em>adb shell pm list packages -f</em></pre><p>Here is the sample output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*EMhgfV0t1ewNSijGP6Xq_w.png" /><figcaption>Device packages list output</figcaption></figure><ul><li>Step 2: Choose the app and download it using the adb tool:</li></ul><pre><em>adb pull &lt;package-name&gt;/base.apk</em></pre><p>the<em> base.apk</em> file is now in our computer in the adb directory, so let’s decompile it</p><ul><li>Step 3: Decompile the downloaded .apk file using apktool:</li></ul><pre><em>apktool d -r base.apk</em></pre><p>‘d’ — decompile, ‘-r’ — do not decode resources</p><ul><li>Step 4: Open the <em>.smali</em> files inside the created ‘<em>base</em>’ directory and try to find some secrets 😉</li></ul><h4>Token storage problem</h4><p>In most cases when we create a web service designed to handle REST queries from our application, we need to be sure that they come from one specific source. The most common way to achieve this is to send a specific application token as a parameter directly in the url address, as an http Header or in a POST body. When the server receives a query containing such a token, it compares it with the one saved internally, and if both are the same, it sends the required information back to the client. As long as the token stored on the server’s side is relatively secure, there is a problem with the one on the client’s side. The following example shows the source code of a simple application with some web service included — the token used for authentication is stored as a constant value directly in the code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3505ea582e0b06f0369d69d6faed924b/href">https://medium.com/media/3505ea582e0b06f0369d69d6faed924b/href</a></iframe><p>Using the reverse engineering techniques described earlier we can now decompile an .apk file of the application containing the above code and read the contents of the .smali file. Let’s have a closer look at the <em>connectToWebservice()</em> function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ef66f49fd8419d611fd985abf16105e/href">https://medium.com/media/6ef66f49fd8419d611fd985abf16105e/href</a></iframe><p>As you can see in line 9 our <em>SECRET_TOKEN</em> value is assigned to the variable <em>v1</em>, which is later used in the<em> connect()</em> method in line 11. In this example, the obtaining our secret key simply stored as a constant value in the source code was easy and did not require the use of any advanced techniques and tools.</p><p>The second example is the technique involving the project build tool — <strong>Gradle</strong>. First of all, we create a <strong>keystore.properties</strong> file in our root project directory, which contains the definition of our <em>SECRET_TOKEN</em>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/868931c38b5d1cc1345cb0abd82bcfb1/href">https://medium.com/media/868931c38b5d1cc1345cb0abd82bcfb1/href</a></iframe><p>Then we include this file in our app <strong>build.gradle</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fc869f1d57a6283932956023ba3b2243/href">https://medium.com/media/fc869f1d57a6283932956023ba3b2243/href</a></iframe><p>And finally, using the <em>BuildConfig</em> class, we can obtain the <em>SECRET_TOKEN </em>value in our <em>connectToWebservice()</em> function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b45ba38cb74ba8097ffd6f2e1e128068/href">https://medium.com/media/b45ba38cb74ba8097ffd6f2e1e128068/href</a></iframe><p>Using the same techniques as before, let’s decompile the .apk file and look into the<em> MainActivity.smali</em> class.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cfa14c4d6e2056425ec1b8499e98497c/href">https://medium.com/media/cfa14c4d6e2056425ec1b8499e98497c/href</a></iframe><p>As you can see, regardless of the steps we’ve taken to potentially provide a better way to secure our token, after decompiling the application its value is just as visible as before. It looks like it’s time to bring out the big guns — including the NDK layer.</p><p>The <strong>Android NDK</strong> is a toolset that lets us implement parts of our app in a native code, using languages such as C and C++. The main advantage of including native support is that the code written in C/C++ is compiled into machine instructions that are run directly by the device CPU. Many multimedia or video-processing applications use native code for processor-intensive tasks. Considering that the C/C ++ code is in a different layer, the decompiled class containing the NDK reference should not contain the code from the lower level, so if we place our <em>SECRET_TOKEN </em>there, we will not be able to see it. Let’s check it in our application.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/35ace695639ae456b28acd620cc0f850/href">https://medium.com/media/35ace695639ae456b28acd620cc0f850/href</a></iframe><p>So when our<em> Activity</em> class is created, the “<em>native-lib”</em> is loaded. Thanks to this we can use the external <em>getSecretKey()</em> function, returning String with our <em>SECRET_TOKEN</em> directly from the NDK layer. Let’s take a look into the C++ <em>getSecretKey()</em> implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/528972082578434cd8b498ca8b52b60f/href">https://medium.com/media/528972082578434cd8b498ca8b52b60f/href</a></iframe><p>It’s just a simple function returning the hard-coded token value. Reverse engineering of our application proves that the <em>SECRET_TOKEN</em> is not visible any more.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec4b6fe5e16c97ccb5174689fe21b491/href">https://medium.com/media/ec4b6fe5e16c97ccb5174689fe21b491/href</a></iframe><p>Although our token is no longer visible in the <em>.smali</em> file, the only difficulty we’ve added for the potential attacker is simply that he has to take a few more steps and look deeper into our source code. Methods written in native layers are stored in the “<em>lib”</em> folder with the<strong> </strong><em>.so</em> extension. We are able to decompile them to machine code using, for example, the <a href="https://www.hex-rays.com/products/ida/">IDA disassembler</a>. Due to different processor architectures used by various Android devices there are 4 types of .so files inside our .apk — <strong>arm64-v8a</strong>, <strong>armeabi-v7a</strong>, <strong>x86</strong> and <strong>x84_64</strong>. Let’s select <strong>x86 version</strong> of our native library. After successfully decompiling the file into machine code we have to search for the <em>Java_&lt;package-name&gt;_secretKey() </em>function and analyse its code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4d29c8be30fd49227c0ee5de773b2f6c/href">https://medium.com/media/4d29c8be30fd49227c0ee5de773b2f6c/href</a></iframe><p>Our secret token is stored at<em> </em><strong><em>00031019</em></strong>, <strong><em>0003101F</em></strong>, <strong><em>00031026</em></strong> and <strong><em>0003102D</em></strong> as hexadecimal arrays represented in <a href="https://en.wikipedia.org/wiki/Endianness">little-endian</a> format, so we have to concatenate them, convert the result to string and reverse its order, using e.g. a <a href="http://string-functions.com/">string-functions website</a>. Summarizing, the whole process of the retrieval of our <em>SECRET_TOKEN </em>looks like this:</p><pre>3D32676E2D3135553D613126626A <strong>→</strong> =2gn-15U=a1&amp;bj <strong>→</strong> <strong>jb&amp;1a=U51-ng2=</strong></pre><p>If we continued the process of hiding our token more and more deeply, we would probably eventually reach the <a href="https://github.com/OWASP/owasp-mstg/tree/master/Crackmes">OWASP Crackmes</a> website containing applications written as key-retrieval challenges — regardless of their difficulties, the secret token hidden somewhere in the application was in each case more or less easy to recover.</p><p><strong>Reverse engineering — code injection</strong></p><p>Regardless of how deeply the secret key was hidden in our application, instead of wasting time on searching for it in the place where it was saved, we can try to capture it where it is actually used — e.g. placed as a parameter of the function sending it in some REST query. The easiest way to achieve this is to debug our application by setting a breakpoint in the place where the token has to be assigned to e.g. some function. However, the problem is that applications published on Google Play Store are by default non-debuggable. The solution is to use the simplest form of code injection — setting the <em>android:debuggable=”true”</em> parameter in the application downloaded to our computer. It has to be set in the<em> </em><strong><em>AndroidManifest.xml</em></strong> file located in the directory containing the decompiled source of our app. After that, we can build a new .apk file containing changed data using Apktool.</p><pre><em>apktool b base -o app-modified.apk</em></pre><p>“b” — build “-o” — output</p><p>Unfortunately, if you try to install a modified .apk, you will get an error: <strong>[INSTALL_PARSE_FAILED_NO_CERTIFICATES]</strong>. It’s because <a href="https://developer.android.com/studio/publish/app-signing">Android requires that all APKs be digitally signed with a certificate before they can be installed</a>. Let’s solve it by <a href="https://developer.android.com/studio/publish/app-signing">generating a key and keystore</a> and signing it using <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html">jarsigner</a>.</p><pre>j<em>arsigner -verbose -keystore &lt;custom.keystore&gt; -signedjar &lt;signed-output&gt;.apk &lt;unsigned-app&gt;.apk &lt;keystore-alias&gt;</em></pre><p>Opening our modified re-signed APK using Android Studio’s “<em>Profile or Debug APK</em>” option (with a <a href="https://github.com/JesusFreke/smali/wiki/smalidea">Smalidea plugin</a> installed) and setting the breakpoint in the desired place results in revealing our secret token directly in the debug window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y77xGq7Wk5PcTUL5l3vHWA.png" /><figcaption><em>Retrieving the secret token using .smali debugger</em></figcaption></figure><p>By using more complex methods of code injection, we are able, for example, to change the way our application works to obtain certain data — e.g. creating a class that has a static method of accepting a string as a parameter and copying it to the device clipboard. By injecting a call to this method in a place where the token is used we will be able to easily obtain it. This is especially useful for applications that have security checks verifying whether our device is rooted, if the debug mode enabled or if the ADB is active — we can install the modified application on a ‘secure’ device and simply read the value directly from the clipboard. At the same time, it should be kept in mind that any interference with the source code requires us to re-sign the application with our custom certificate. Some apps may have mechanisms to check whether they have been signed with the appropriate key and in case of their incompatibility, they may not allow a further process to run. Fortunately, code injection also allows us to disable functions where these conditions are verified (see: <a href="https://enovella.github.io/android/reverse/2017/05/20/android-owasp-crackmes-level-3.html">OWASP Crackmes level 3 — disabling security check</a>).</p><h4>Summary</h4><p>Regardless of how much we will try to protect our applications against the unauthorized use of our secret key, a potential attacker with the appropriate knowledge and tools will not have much difficulty in reading its value. Therefore, the only reasonable way to protect our key is to never let it touch our application. This is especially true for keys that can be used from any source, e.g. <a href="https://developers.google.com/places/web-service/search">Google Places API</a> keys. In this case, our application should query our internal server having the appropriate token, which then performs a query to some next source using our API client key. But if storing tokens inside our apps is not recommended, how can our server verify that the query it has just received comes from a trusted source? <a href="https://medium.com/skyrise/android-applications-security-part-2-588ffb9d83ab">See the second part of this article</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2782d73771e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/android-applications-security-part-1-2782d73771e0">Android applications security — part 1</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are you cyber-secure?]]></title>
            <link>https://medium.com/skyrise/are-you-cyber-secure-36f16a430632?source=rss----3afd978c25c0---4</link>
            <guid isPermaLink="false">https://medium.com/p/36f16a430632</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[how-to-start]]></category>
            <dc:creator><![CDATA[Skyrise Team Says]]></dc:creator>
            <pubDate>Fri, 22 Dec 2017 13:47:00 GMT</pubDate>
            <atom:updated>2017-12-22T13:46:59.875Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u_vFFoTaEW_KsU5O2oivg.png" /></figure><p>There is always a lot of work with websites. You must take care about adding content, trying to grow your audience, maintaining it. But there is another, very important area you cannot miss. Did you know that 86% of websites contain at least one serious cybersecurity flaw? There are different security incidents happening and you could even have to close your business. To avoid this kind of situations, you should get familiar with some cybersecurity basics. You should know that even such powerful companies like Google or Facebook make serious mistakes. On day on Instagram you could remove a comment posted by Justin Bieber and on the other sensitive personal information of 77 million users were stolen from Sony. Both of them are large and have security departments.</p><h3>Should I really be afraid of begin attacked?</h3><p>Remember, for some reasons you are always a potential target even if you don’t have 77 million users.</p><h4>You should consider the following points:</h4><ul><li>your competition;</li><li>that one employee you fired last year;</li><li>someone curious;</li><li>criminals</li></ul><h4>What are the potential attackers looking for?</h4><ul><li>an information diclosure;</li><li>a sabotage;</li><li>a defacement;</li><li>a challenge or making fun;</li><li>a botnet or cimeware deployment.</li></ul><h4>Your website most probably has leaks</h4><p>Research of WhiteHat Security shows that about 86% of websites contain at least one serious cybersecurity issue. Information leak from many of web applications and every second issue stays unresolved for at least one year. Over 50% of companies don’t have security department or even one employee who could take action on this sensitive issue. Well, if you don’t secure your systems, you are not a part of those successful 14%.</p><h4>System components</h4><p>Let’s try to explain what is system? It is not only the application, because there is always a hardware too and other, additional components like an underlying operating system. IoT Devices, people at your company, other systems exchanging information with your system. A lot of it.</p><p>It seems that the most sensitive area are people. Of course every single part of the whole eco-system has its own problems, but the mentioned above is the most danger. It concerns every single person in the company, a developer or a QA engineer with a lack of security skills, a team with close deadlines, a product owner with no cybersecurity awareness, an external library developer, even a manager, a lawyer or a CEO.</p><h4>Known issues</h4><p>The approach to the security issue that many people have is strange. They treat it like a “normal” bug which this is obviously not. Unfortunately you have to sacrifice some of your resources to make sure your systems are secure. But don’t expect any return. There is none. There only exists an unknown probability that someone will attack you and fail because of your improved security. This is the same thing with buying a life insurance. So don’t wait, make the investment.</p><h3>General attack structure</h3><p>Here below in a few points you can read how an attacker approaches your system.<br>There are four main parts of an attack.</p><h4>1. Information gathering</h4><p>First an attacker is collecting information. He wants to know everything about the target (your company). The attacker is searching through social media, websites, documents, everything that can be found.</p><h4>Tools include:</h4><ul><li>search engines: Google, DuckDuck.go, Baidu, Bing, Foundstone, Sitedigger;</li><li>programs: nslookup, whois, host.</li></ul><h4>2. Scanning</h4><p>With enough information the attacker gets to know the system. It’s critical for the rest of the attack.</p><h4>The points of interest are:</h4><ul><li>the server information (OS version, open ports, applications running);</li><li>the application information (libraries, their versions and issues);</li><li>the application metafiles information;</li></ul><p>o the network structure (other endpoints, especially with outdated software or test environments).</p><h4>Tools include:</h4><ul><li>search engines like Google, DuckDuck.go, Baidu, Bing, Foundstone Sitedigger and Shodan.io;</li><li>scanners (nmap, OWASP Zed Attack Proxy, WebScarab);</li><li>bug databases (CVE Details, Exploit DB).</li></ul><h4>3. Exploitation</h4><p>Once the attacker knows what are the endpoints, the applications and libraries, it can use this knowledge to add or change the system behaviour. This often requires the attacker to send modified packets or HTTP requests as well as submitting malicious code (e.g. a query or a javascript code) via forms or requests. There are of course lots of different techniques that apply to different situations.</p><h4>The point here could be for instance:</h4><ul><li>to get a list of users and their sensitive data;</li><li>create a trap for an administrator or other users;</li><li>gain control over a server.</li></ul><h4>Tools include:</h4><ul><li>OWASP Zed Attack Proxy;</li><li>Metasploit;</li><li>own code and activities;</li><li>XSSer;</li><li>exploits (programs, code snippets) found on Internet.</li></ul><h4>4. Damage</h4><p>At this point, the attacker has everything it needs to cause a real damage. The attacker could for instance crack the user’s password and access and/or damage it’s data, remove information from database, put some nasty content on the company’s main page, force your devices to join a botnet and more.</p><h4>What should I do?</h4><p>The process of securing your company and/or products is very complex and consists of many levels. It is therefore beyond the scope of this article. I’ll give you however a brief summary of what can be done right now.</p><p>Most companies are aware of insecure software consequences, but the teams’ knowledge is usually fragmentary. Security monitoring often doesn’t exist, no policies or procedures are applied, the tests are conducted ad hoc. Wanna do better? Here are some rules you should follow when protecting a system:</p><h4>1. Least Privilige Principle</h4><p>This rule applies to users, processes and applications. They should own a minimal set of priviliges that allow them to accomplish their goals. Watch out for a default configuration too.</p><h4>2. Defense in Depth Principle</h4><p>This one is conceived by NSA. Use more than one protection measure. For example, a common practice is to secure a local network and disable some of the authorization mechanisms inside, so that e.g. a production web site can connect to it’s database without any security check. But what if someone breaks into the network? Here comes the Defense in Depth Principle, saying that you should introduce an additional security measure for this database (e.g. require a user name and a password).</p><h4>3. Minimization Principle</h4><p>Use only the software your product actually requires to run. An old, abandoned FTP software could make you vulnerable, big time.</p><h4>4. Compartmentalization Principle</h4><p>Isolate your applications — use virtualization and different accounts when possible.</p><h4>5. Segregation of Duties Principle</h4><p>This rule applies to your development team. Think for instance about who should have an access to your production keys.</p><h4>6. Accountability Principle</h4><p>Changes made to your system should be auditable. Log a lot!</p><h4>7. Hardening your cybersecurity</h4><p>A great way to improve the system protection is to harden it. A hardening process is a set of rather small changes you have to make to your server configuration that is improving it’s security. You can find more information <a href="https://www.owasp.org/index.php/Secure_Configuration_Guide">here.</a></p><h3>Summary</h3><blockquote>As Bruce Schneier once said, “security is a process, not a product”. This means that you cannot stop on a single security audit, applications’ update or execution of one set of penetration tests. It also means, you cannot buy it. You have to implement it.</blockquote><h4>Make sure:</h4><ul><li>each person involved in a product development including a product owner, a business analyst and a project manager is aware of cybersecurity’s importance;</li><li>your technical team has an appropriate knowledge required to develop a secure system (it often requires additional training);</li><li>there are assigned people responsible for your sysem security.</li></ul><h4>On the technical side, the bare minimum you have to do is to:</h4><ul><li>keep your applications and libraries up-to-date;</li><li>make sure only required applications run on the server;</li><li>make sure only required ports are open on the server;</li><li>also you can <a href="https://www.skyrise.tech/blog/tech/security-of-the-third-party-libraries/">check third party libraries used in application.</a></li></ul><p>In this article, we barely touched a tip of the iceberg which the cybersecurity is. There are lots of topics out there: a security development lifecycle, all these attack and proctection techniques, a threat modeling.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36f16a430632" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skyrise/are-you-cyber-secure-36f16a430632">Are you cyber-secure?</a> was originally published in <a href="https://medium.com/skyrise">Skyrise</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>